Skip to content

Commit

Permalink
minor ui improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
blockisec committed Jun 5, 2024
1 parent 44f876a commit 4c7a842
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion frontend/src/views/pages/attack_surface/TagList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,12 @@ export default {
@search="onGlobalSearch"
>
<Column field="name" header="Name"></Column>
<Column field="description" header="Description"></Column>
<Column field="description" header="Description">
<template #body="slotProps">
<span v-if="slotProps.data.description">{{ slotProps.data.description }}</span>
<span v-else>-</span>
</template>
</Column>
<Column header="Preview">
<template #body="slotProps">
<AdvisoryLabelBadge :label="slotProps.data"></AdvisoryLabelBadge>
Expand Down
1 change: 0 additions & 1 deletion frontend/src/views/pages/attack_surface/TargetList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ export default {
<Column header="Actions">
<template #body="slotProps">
<TargetUpdateDialog :target="slotProps.data" @object-updated="getItems"></TargetUpdateDialog>
<Button size="small" outlined icon="fa fa-trash" severity="danger" @click="confirmDialogDelete(slotProps.data.pk)"></Button>
</template>
</Column>
</GenericDataTable>
Expand Down

0 comments on commit 4c7a842

Please sign in to comment.