Fix dropdown
This commit is contained in:
@@ -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 } })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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(','))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user