edit gets

This commit is contained in:
Swift
2024-02-24 17:40:20 +03:30
parent 9ae51b5b00
commit faff929327
4 changed files with 125 additions and 167 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ export default {
layout: 'admin',
async asyncData({ $axios, error }) {
try {
const surveys = await $axios.$get(`/api/admin/surveys`)
const surveys = await $axios.$get(`/api/admin/surveys?type=0`)
return {
surveys
}