refactor(editor): Migrate tags.store to use composition API (no-changelog) (#9891)

This commit is contained in:
Ricardo Espinoza
2024-07-02 14:15:20 -04:00
committed by GitHub
parent 873b7e59dc
commit 8debac755e
6 changed files with 107 additions and 98 deletions

View File

@@ -413,7 +413,7 @@ async function onWorkflowMenuSelect(action: WORKFLOW_MENU_ACTIONS): Promise<void
instanceId: rootStore.instanceId,
},
tags: (tags ?? []).map((tagId) => {
const { usageCount, ...tag } = tagsStore.getTagById(tagId);
const { usageCount, ...tag } = tagsStore.tagsById[tagId];
return tag;
}),