refactor: 💡 refactor serval event names

refactore serval event names to follow the current usage in repo
This commit is contained in:
Jin
2025-03-03 23:15:58 +01:00
parent a9d8d7d3c5
commit c9c18146f4
5 changed files with 5 additions and 8 deletions

View File

@@ -638,7 +638,7 @@ export default class TabRowWidget extends BasicWidget {
this.updateTabById(noteContext.mainNtxId || noteContext.ntxId);
}
noteContextReorderEvent({ oldMainNtxId, newMainNtxId }: EventData<"noteContextReorderEvent">) {
noteContextReorderEvent({ oldMainNtxId, newMainNtxId }: EventData<"noteContextReorder">) {
if (!oldMainNtxId || !newMainNtxId) {
// no need to update tab row
return;