소스 검색

fix: add external notify error #1018

Jacky 2 달 전
부모
커밋
7482be9c7a
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 0
      app/src/constants/errors/validate.ts
  2. 1 1
      app/src/views/preference/tabs/ExternalNotify.vue

+ 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>