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