Skip to content

Commit

Permalink
Add tags to data dialog component
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Apr 16, 2024
1 parent c3403d6 commit 85ec01a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/src/components/SelectionDialog/SelectionDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { SELECTION_STATES } from "@/components/SelectionDialog/selectionTypes";
import { type FieldEntry, type SelectionItem } from "./selectionTypes";
import DataDialogSearch from "@/components/SelectionDialog/DataDialogSearch.vue";
import StatelessTags from "@/components/TagsMultiselect/StatelessTags.vue";
library.add(faCaretLeft, faCheck, faCheckSquare, faFolder, faMinusSquare, faSpinner, faSquare, faTimes);
Expand Down Expand Up @@ -183,6 +184,10 @@ watch(
<template v-slot:cell(details)="data">
<span :title="`details-${data.item.url}`">{{ data.value ? data.value : "-" }}</span>
</template>
<template v-slot:cell(tags)="data">
<StatelessTags v-if="data.value?.length > 0" :value="data.value" :disabled="true" />
<span v-else>-</span>
</template>
<template v-slot:cell(time)="data">
{{ data.value ? data.value : "-" }}
</template>
Expand Down

0 comments on commit 85ec01a

Please sign in to comment.