From 3a8350e2ec276e9bfc8b8575d9ebf6211601117c Mon Sep 17 00:00:00 2001 From: Arnon R Date: Sat, 2 Dec 2023 13:39:55 -0300 Subject: [PATCH] Add slug column to q-table in StatsPage.vue --- src/pages/StatsPage.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/pages/StatsPage.vue b/src/pages/StatsPage.vue index 76aa24d2..688328f4 100644 --- a/src/pages/StatsPage.vue +++ b/src/pages/StatsPage.vue @@ -23,7 +23,13 @@ :rows="statStore.getSummary" :title="`Entries from ${prompt?.id}`" wrap-cells - /> + > + + @@ -39,8 +45,9 @@ const promptStore = usePromptStore() const statStore = useStatStore() const colums = ref([ + { name: 'slug', align: 'center', label: '', field: 'slug' }, { - name: 'post_id', + name: 'entry', align: 'left', label: 'Entry', field: (row) => entries.value?.find((entry) => entry.id === row.post_id)?.title ?? 'Deleted',