feat(webui): enable grouping for authentication activity table

This commit is contained in:
Gauthier Roebroeck 2021-06-28 11:09:00 +08:00
parent a56c2f1d2d
commit 2a19399347

View file

@ -8,6 +8,7 @@
sort-by="dateTime"
:sort-desc="true"
multi-sort
show-group-by
class="elevation-1"
:footer-props="{
itemsPerPageOptions: [20, 50, 100]
@ -65,7 +66,7 @@ export default Vue.extend({
{text: this.$t('authentication_activity.user_agent').toString(), value: 'userAgent'},
{text: this.$t('authentication_activity.success').toString(), value: 'success'},
{text: this.$t('authentication_activity.error').toString(), value: 'error'},
{text: this.$t('authentication_activity.datetime').toString(), value: 'dateTime'},
{text: this.$t('authentication_activity.datetime').toString(), value: 'dateTime', groupable: false},
)
return headers
},