summaryrefslogtreecommitdiff
path: root/pages/admin
diff options
context:
space:
mode:
Diffstat (limited to 'pages/admin')
-rw-r--r--pages/admin/index.vue1
-rw-r--r--pages/admin/models.vue3
-rw-r--r--pages/admin/reports.vue3
3 files changed, 2 insertions, 5 deletions
diff --git a/pages/admin/index.vue b/pages/admin/index.vue
index 89de614..e08f819 100644
--- a/pages/admin/index.vue
+++ b/pages/admin/index.vue
@@ -8,7 +8,6 @@
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 ca84932..148e206 100644
--- a/pages/admin/models.vue
+++ b/pages/admin/models.vue
@@ -42,8 +42,7 @@
:keys="['id', 'name', 'created', 'author', 'likes']"
:fields="models"
path="/models/"
- :deleterow="true"
- :delete="openModal"
+ :deleterow="openModal"
)
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 5866335..65825bb 100644
--- a/pages/admin/reports.vue
+++ b/pages/admin/reports.vue
@@ -50,8 +50,7 @@
v-table(
:keys="['id', 'model_id', 'created', 'updated', 'user', 'resolved', 'note', 'admin_note']"
:fields="warnings"
- :deleterow="true"
- :delete="openModal"
+ :deleterow="openModal"
)
pagination(:page="page" :pages="pages" v-if="count" path="/admin/reports")
</template>