mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
refactor(editor): Fix remaining FE type check errors (no-changelog) (#9607)
Co-authored-by: Alex Grozav <alex@grozav.com>
This commit is contained in:
@@ -207,6 +207,10 @@ const isWorkflowHistoryButtonDisabled = computed(() => {
|
||||
return isNewWorkflow.value;
|
||||
});
|
||||
|
||||
const workflowTagIds = computed(() => {
|
||||
return (props.workflow.tags ?? []).map((tag) => (typeof tag === 'string' ? tag : tag.id));
|
||||
});
|
||||
|
||||
watch(
|
||||
() => props.workflow.id,
|
||||
() => {
|
||||
@@ -601,7 +605,7 @@ function showCreateWorkflowSuccessToast(id?: string) {
|
||||
<TagsContainer
|
||||
v-else
|
||||
:key="workflow.id"
|
||||
:tag-ids="workflow.tags"
|
||||
:tag-ids="workflowTagIds"
|
||||
:clickable="true"
|
||||
:responsive="true"
|
||||
data-test-id="workflow-tags"
|
||||
|
||||
Reference in New Issue
Block a user