diff --git a/ui/src/data_cells/components/data_cell.vue b/ui/src/data_cells/components/data_cell.vue index d230e8c0..63f850a4 100644 --- a/ui/src/data_cells/components/data_cell.vue +++ b/ui/src/data_cells/components/data_cell.vue @@ -43,6 +43,7 @@ ref="cell" :value="value" :format="format" + :with-filter-button="isTable" @tag-click="$emit('tag-click', $event)" /> ({}) }, + isTable: { + type: Boolean, + required: false, + default: false + }, textTruncate: { type: Boolean, required: false, diff --git a/ui/src/data_cells/components/reference.vue b/ui/src/data_cells/components/reference.vue index 4a91c869..c821106b 100644 --- a/ui/src/data_cells/components/reference.vue +++ b/ui/src/data_cells/components/reference.vue @@ -1,10 +1,10 @@
{{ options[value] || titleize(value.toString()) }} + + +
@@ -59,6 +71,11 @@ export default { type: Object, required: false, default: () => ({}) + }, + withFilterButton: { + type: Boolean, + required: false, + default: false } }, emits: ['tag-click'], @@ -93,5 +110,27 @@ export default { } - diff --git a/ui/src/data_tables/components/table_column.vue b/ui/src/data_tables/components/table_column.vue index 51f0f3ae..2eb69e18 100644 --- a/ui/src/data_tables/components/table_column.vue +++ b/ui/src/data_tables/components/table_column.vue @@ -47,6 +47,7 @@ v-else :value="row[column.key]" :format="column.format" + :is-table="true" :type="column.type" @tag-click="$emit('tag-click', { key: column.key, value: $event })" />