Clear screen validation errors when changing screen

This commit is contained in:
Andrew Kingston 2022-05-13 10:14:52 +01:00
parent 22f4c6e98b
commit b14440065c
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,10 @@
<script> <script>
import { selectedScreen } from "builderStore"
import ScreenListPanel from "./_components/ScreenListPanel.svelte" import ScreenListPanel from "./_components/ScreenListPanel.svelte"
import ScreenSettingsPanel from "./_components/ScreenSettingsPanel.svelte" import ScreenSettingsPanel from "./_components/ScreenSettingsPanel.svelte"
</script> </script>
<ScreenListPanel /> <ScreenListPanel />
<ScreenSettingsPanel /> {#key $selectedScreen?._id}
<ScreenSettingsPanel />
{/key}