improvements

This commit is contained in:
zadam
2022-12-03 21:11:49 +01:00
parent 56e01046c8
commit cd60ad4267
3 changed files with 11 additions and 7 deletions

View File

@@ -61,9 +61,9 @@ export default class LauncherContainer extends FlexContainer {
}
entitiesReloadedEvent({loadResults}) {
if (loadResults.getNoteIds().find(noteId => froca.notes[noteId]?.isLaunchBarConfig())
|| loadResults.getBranches().find(branch => branch.parentNoteId.startsWith("lb_"))
|| loadResults.getAttributes().find(attr => froca.notes[attr.noteId]?.isLaunchBarConfig())) {
if (loadResults.getBranches().find(branch => branch.parentNoteId.startsWith("lb_"))) {
// changes in note placement requires reload of all launchers, all other changes are handled by individual
// launchers
this.load();
}
}