diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-10-15 11:36:22 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-10-15 11:36:22 +0200 |
commit | 51143de16c323072c83f1968dfe31e2cf530d06c (patch) | |
tree | 0b57feb79f11864aa7519836a8e97f649cbd2f05 /pages | |
parent | 698d6cc72ec6a117fddc1cbd5a7fabb5884ed4df (diff) |
Prop to delete row or not
Diffstat (limited to 'pages')
-rw-r--r-- | pages/admin/index.vue | 1 | ||||
-rw-r--r-- | pages/admin/models.vue | 1 | ||||
-rw-r--r-- | pages/admin/reports.vue | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/pages/admin/index.vue b/pages/admin/index.vue index e08f819..89de614 100644 --- a/pages/admin/index.vue +++ b/pages/admin/index.vue @@ -8,6 +8,7 @@ v-table( :keys="['id', 'avatar', 'username', 'email', 'is_staff', 'name']" :fields="users" + :deleterow="false" path="/users/" ) pagination(:page="page" :pages="pages" v-if="count" path="/admin") diff --git a/pages/admin/models.vue b/pages/admin/models.vue index 66f20cf..e1f65d7 100644 --- a/pages/admin/models.vue +++ b/pages/admin/models.vue @@ -9,6 +9,7 @@ :keys="['id', 'name', 'created', 'author', 'likes']" :fields="models" path="/models/" + :deleterow="true" ) pagination(:page="page" :pages="pages" v-if="count" path="/admin/models") </template> diff --git a/pages/admin/reports.vue b/pages/admin/reports.vue index a9939ad..7191060 100644 --- a/pages/admin/reports.vue +++ b/pages/admin/reports.vue @@ -18,6 +18,7 @@ v-table( :keys="['id', 'model_id', 'created', 'updated', 'user', 'resolved', 'note', 'admin_note']" :fields="warnings" + :deleterow="true" ) pagination(:page="page" :pages="pages" v-if="count" path="/admin/reports") </template> |