diff options
Diffstat (limited to 'src/site/pages')
| -rw-r--r-- | src/site/pages/dashboard/tags/index.vue | 4 |
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); }, |