diff --git a/src/components/DebugPanel.vue b/src/components/DebugPanel.vue new file mode 100644 index 0000000..2f868e4 --- /dev/null +++ b/src/components/DebugPanel.vue @@ -0,0 +1,25 @@ + + diff --git a/src/main.js b/src/main.js index 6ea80f8..3823f51 100644 --- a/src/main.js +++ b/src/main.js @@ -10,6 +10,8 @@ import './assets/css/app.scss' import 'vue-virtual-scroller/dist/vue-virtual-scroller.css' import axios from 'axios' import VueVirtualScroller from 'vue-virtual-scroller' +import DebugPanel from '@/components/DebugPanel.vue' +import ErrorBanner from '@/components/ErrorBanner.vue' axios.defaults.headers.common['X-Authentication'] = `Bearer ${localStorage.getItem('access_token')}`; @@ -19,6 +21,8 @@ const app = createApp(App).use(router) .use(vuetify) .use(print) .use(VueVirtualScroller) + .use(DebugPanel) + .use(ErrorBanner) .component('DatePicker', Datepicker) var url = window.location.protocol + "//" + window.location.host + "/api/v1" diff --git a/src/views/complaints/ComplaintEdit.vue b/src/views/complaints/ComplaintEdit.vue index 502cc0d..c0ae4c4 100644 --- a/src/views/complaints/ComplaintEdit.vue +++ b/src/views/complaints/ComplaintEdit.vue @@ -27,19 +27,9 @@ - - - - - - {{ complaint }} - - - - - +