Skip to content

Commit 7752230

Browse files
committed
fix(frontend): temporary remove validation of responses due to hard implementing in vee-validate
[skip-docker]
1 parent 69f1eed commit 7752230

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

apps/frontend/src/components/Command.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ const schema = computed(() => yup.object({
8484
return true;
8585
}),
8686
),
87-
commands: yup.array().required('Responses cannot be empty.'),
8887
}));
8988
9089
async function deleteCommand() {

apps/frontend/src/dashboard/Moderation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ModerationSettingsDto } from '@tsuwari/shared';
44
import { onMounted, ref } from 'vue';
55
66
import ModerationComponent from '@/components/Moderation.vue';
7-
import { api } from '@/plugins/api.js';
7+
import { api } from '@/plugins/api';
88
import { selectedDashboardStore } from '@/stores/userStore';
99
1010
const settings = ref<ModerationSettingsDto[]>();

0 commit comments

Comments
 (0)