Skip to content

Commit

Permalink
feat(ui): add triggers sorting by next execution date (#6318)
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosPaunovic committed Dec 10, 2024
1 parent 34e4dfa commit 0ee4018
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ui/src/components/admin/Triggers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,13 @@
<date-ago :inverted="true" :date="scope.row.updatedDate" />
</template>
</el-table-column>
<el-table-column v-if="visibleColumns.nextExecutionDate" :label="$t('next execution date')">
<el-table-column
v-if="visibleColumns.nextExecutionDate"
prop="nextExecutionDate"
sortable="custom"
:sort-orders="['ascending', 'descending']"
:label="$t('next execution date')"
>
<template #default="scope">
<date-ago :inverted="true" :date="scope.row.nextExecutionDate" />
</template>
Expand Down

0 comments on commit 0ee4018

Please sign in to comment.