Browse Source

fix: add external notify error #1018

Jacky 1 month ago
parent
commit
7482be9c7a

+ 3 - 0
app/src/constants/errors/validate.ts

@@ -0,0 +1,3 @@
+export default {
+  406: () => $gettext('Requested with wrong parameters'),
+}

+ 1 - 1
app/src/views/preference/tabs/ExternalNotify.vue

@@ -1,8 +1,8 @@
 <script setup lang="ts">
 import externalNotify from '@/api/external_notify'
 import { StdCurd } from '@/components/StdDesign/StdDataDisplay'
-import ExternalNotifyEditor from '../components/ExternalNotify'
 import columns from '../components/ExternalNotify/columns'
+import ExternalNotifyEditor from '../components/ExternalNotify/ExternalNotifyEditor.vue'
 </script>
 
 <template>