close dropdown on component change
This commit is contained in:
parent
f12c6452e4
commit
52d79236e8
|
@ -34,13 +34,14 @@
|
||||||
|
|
||||||
$: {
|
$: {
|
||||||
const binding = getBinding(value);
|
const binding = getBinding(value);
|
||||||
|
if (bindingPath !== binding.path) isOpen = false;
|
||||||
bindingPath = binding.path;
|
bindingPath = binding.path;
|
||||||
bindingFallbackValue = binding.fallback
|
bindingFallbackValue = binding.fallback
|
||||||
? binding.fallback
|
? binding.fallback
|
||||||
: typeof value === "object"
|
: typeof value === "object"
|
||||||
? ""
|
? ""
|
||||||
: value;
|
: value;
|
||||||
|
|
||||||
const currentScreen = $store.screens.find(
|
const currentScreen = $store.screens.find(
|
||||||
({ name }) => name === $store.currentPreviewItem.name
|
({ name }) => name === $store.currentPreviewItem.name
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue