Fix dropdown

This commit is contained in:
Julien Nahum
2023-12-20 13:42:43 +01:00
parent 933f95e944
commit df2fa4c444
7 changed files with 65 additions and 69 deletions

View File

@@ -263,7 +263,7 @@ export default {
this.$router.push({ name: 'home' })
},
openEdit () {
this.$router.push({ name: 'forms.edit', params: { slug: this.form.slug } })
this.$router.push({ name: 'forms-edit', params: { slug: this.form.slug } })
}
}
}

View File

@@ -170,8 +170,6 @@ const isFilteringForms = computed(() => {
const allTags = computed(() => {
let tags = []
forms.value.forEach((form) => {
console.log(form.tags)
// TODO: check this works
if (form.tags && form.tags.length) {
tags = tags.concat(form.tags.split(','))
}