fix: 🐛 fix wrong triggerEvent usage

This commit is contained in:
Jin
2025-03-03 22:56:24 +01:00
parent 469c2c3ce9
commit a9d8d7d3c5
6 changed files with 12 additions and 13 deletions

View File

@@ -199,7 +199,7 @@ export default class SplitNoteContainer extends FlexContainer<SplitNoteWidget> {
return Promise.resolve();
}
if (widget.hasBeenAlreadyShown || name === "noteSwitchedAndActivatedEvent" || appContext.tabManager.getActiveMainContext() === noteContext.getMainContext()) {
if (widget.hasBeenAlreadyShown || name === "noteSwitchedAndActivated" || appContext.tabManager.getActiveMainContext() === noteContext.getMainContext()) {
widget.hasBeenAlreadyShown = true;
return Promise.all([