aboutsummaryrefslogtreecommitdiff
path: root/src/site
diff options
context:
space:
mode:
authorPitu <[email protected]>2021-06-20 21:20:27 +0900
committerPitu <[email protected]>2021-06-20 21:20:27 +0900
commitd9e0537a1dbb7b648e258ec66ceca22dc5016b51 (patch)
treecf59813694c0f846366a44f0f9c52bd96d2f5ad4 /src/site
parentfix: pulling config from the db during build process (diff)
downloadhost.fuwn.me-d9e0537a1dbb7b648e258ec66ceca22dc5016b51.tar.xz
host.fuwn.me-d9e0537a1dbb7b648e258ec66ceca22dc5016b51.zip
fix: be able to delete tags
Diffstat (limited to 'src/site')
-rw-r--r--src/site/pages/dashboard/tags/index.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/site/pages/dashboard/tags/index.vue b/src/site/pages/dashboard/tags/index.vue
index 8790f47..0a24b81 100644
--- a/src/site/pages/dashboard/tags/index.vue
+++ b/src/site/pages/dashboard/tags/index.vue
@@ -153,7 +153,7 @@
class="album">
<div
class="arrow-container"
- @click="promptDeleteTag">
+ @click="promptDeleteTag(tag.id)">
<i class="icon-arrow" />
</div>
<!--
@@ -246,7 +246,7 @@ export default {
});
},
async deleteTag(id, purge) {
- const response = await this.$axios.$delete(`tags/${id}/${purge ? 'purge' : ''}`);
+ const response = await this.$axios.$delete(`tag/${id}/${purge ? 'purge' : ''}`);
this.getTags();
return this.$buefy.toast.open(response.message);
},