diff --git a/packages/core/collections/shortcuts.js b/packages/core/collections/shortcuts.js index 5891093c0..81212bbeb 100644 --- a/packages/core/collections/shortcuts.js +++ b/packages/core/collections/shortcuts.js @@ -18,7 +18,7 @@ along with this program. If not, see . */ import Collection from "./collection"; -import { EVENTS } from "../common"; +import { EV, EVENTS } from "../common"; /** * @typedef {{ @@ -170,7 +170,6 @@ export default class Shortcuts extends Collection { await this._collection.removeItem(shortcut.id); } - if (oldShortcuts.length > 0) - this._db.eventManager.publish(EVENTS.appRefreshRequested); + if (oldShortcuts.length > 0) EV.publish(EVENTS.appRefreshRequested); } }