mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
⚡ Enable tags selection (#1960)
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div :key="scope.row.id">
|
<div :key="scope.row.id">
|
||||||
<span class="name">{{scope.row.name}}</span>
|
<span class="name">{{scope.row.name}}</span>
|
||||||
<TagsContainer class="hidden-sm-and-down" :tagIds="getIds(scope.row.tags)" :limit="3" />
|
<TagsContainer class="hidden-sm-and-down" :tagIds="getIds(scope.row.tags)" :limit="3" @click="onTagClick" :clickable="true" :hoverable="true" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -124,6 +124,11 @@ export default mixins(
|
|||||||
updateTagsFilter(tags: string[]) {
|
updateTagsFilter(tags: string[]) {
|
||||||
this.filterTagIds = tags;
|
this.filterTagIds = tags;
|
||||||
},
|
},
|
||||||
|
onTagClick(tagId: string) {
|
||||||
|
if (tagId !== 'count' && !this.filterTagIds.includes(tagId)) {
|
||||||
|
this.filterTagIds.push(tagId);
|
||||||
|
}
|
||||||
|
},
|
||||||
async openWorkflow (data: IWorkflowShortResponse, column: any) { // tslint:disable-line:no-any
|
async openWorkflow (data: IWorkflowShortResponse, column: any) { // tslint:disable-line:no-any
|
||||||
if (column.label !== 'Active') {
|
if (column.label !== 'Active') {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user