1
0
Fork 0
mirror of synced 2024-07-06 15:00:49 +12:00

Merge branch 'master' into BUDI-7573/use_existing_image_cache

This commit is contained in:
Adria Navarro 2023-10-04 00:28:33 +02:00 committed by GitHub
commit 680ce087ba
2 changed files with 6 additions and 9 deletions

View file

@ -1,5 +1,5 @@
{
"version": "2.11.8",
"version": "2.11.9",
"npmClient": "yarn",
"packages": [
"packages/*"

View file

@ -21,14 +21,6 @@
"hsla(240, 90%, 75%, 0.3)",
"hsla(320, 90%, 75%, 0.3)",
]
$: {
if (constraints.inclusion.length) {
options = constraints.inclusion.map(value => ({
name: value,
id: Math.random(),
}))
}
}
const removeInput = idx => {
delete optionColors[options[idx].name]
constraints.inclusion = constraints.inclusion.filter((e, i) => i !== idx)
@ -80,6 +72,11 @@
// Initialize anchor arrays on mount, assuming 'options' is already populated
colorPopovers = constraints.inclusion.map(() => undefined)
anchors = constraints.inclusion.map(() => undefined)
options = constraints.inclusion.map(value => ({
name: value,
id: Math.random(),
}))
})
</script>