Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
averrin committed Jun 24, 2022
1 parent 23885ac commit 549b158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/MainUI.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
let savedActions;
const unsubscribe3 = currentScene.subscribe(scene => {
savedActions = scene.data.flags["director-actions"].filter(a => a);
savedActions = "director-actions" in scene.data.flags ? scene.data.flags["director-actions"].filter(a => a) : [];
actions = savedActions ? savedActions : [{id: uuidv4(), tags: [], type: ''}];
});
onDestroy(unsubscribe3);
Expand Down

0 comments on commit 549b158

Please sign in to comment.