🐛 Enable header clicks on tags (#1848)

* enable header clicks

* remove unused func
This commit is contained in:
Mutasem Aldmour
2021-05-31 19:34:55 +03:00
committed by GitHub
parent dd088ebe48
commit 7a5e69d4e5
2 changed files with 5 additions and 7 deletions

View File

@@ -32,7 +32,7 @@
<template slot-scope="scope">
<div :key="scope.row.id">
<span class="name">{{scope.row.name}}</span>
<TagsContainer class="hidden-sm-and-down" :tagIds="getIds(scope.row.tags)" :limit="3" @click="onTagClick" />
<TagsContainer class="hidden-sm-and-down" :tagIds="getIds(scope.row.tags)" :limit="3" />
</div>
</template>
</el-table-column>
@@ -124,11 +124,6 @@ export default mixins(
updateTagsFilter(tags: string[]) {
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
if (column.label !== 'Active') {