refactor: add status in children tree
This commit is contained in:
parent
49986816d0
commit
3fdf401c11
1 changed files with 1 additions and 2 deletions
|
|
@ -193,7 +193,7 @@ const treeProductTypeAndGroup = computed(
|
||||||
actionDisabled: item.status === 'INACTIVE',
|
actionDisabled: item.status === 'INACTIVE',
|
||||||
type: 'type',
|
type: 'type',
|
||||||
})) ?? item._count.type > 0)
|
})) ?? item._count.type > 0)
|
||||||
? [{ id: '', name: '' }]
|
? [{ id: '', name: '', actionDisabled: item.status === 'INACTIVE' }]
|
||||||
: [],
|
: [],
|
||||||
})) ?? [],
|
})) ?? [],
|
||||||
);
|
);
|
||||||
|
|
@ -1398,7 +1398,6 @@ watch(
|
||||||
});
|
});
|
||||||
|
|
||||||
currentStatusList.value.splice(1);
|
currentStatusList.value.splice(1);
|
||||||
|
|
||||||
expandedTree.value.pop();
|
expandedTree.value.pop();
|
||||||
utilsStore.currentTitle.path.pop();
|
utilsStore.currentTitle.path.pop();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue