diff --git a/openc3-cosmos-init/plugins/packages/openc3-tool-base/src/router.js b/openc3-cosmos-init/plugins/packages/openc3-tool-base/src/router.js index 97fe80562..933f95a73 100644 --- a/openc3-cosmos-init/plugins/packages/openc3-tool-base/src/router.js +++ b/openc3-cosmos-init/plugins/packages/openc3-tool-base/src/router.js @@ -21,7 +21,7 @@ */ import { createRouter, createWebHistory } from 'vue-router' -import { Empty } from '@openc3/vue-common/components' +import { NotFound } from '@openc3/vue-common/components' import { Login } from '@openc3/vue-common/tools/base' export default createRouter({ @@ -33,10 +33,9 @@ export default createRouter({ component: Login, }, { - // Empty component for all other routes to avoid VueRouter warnings, since all other routes are handled by single-spa path: '/:pathMatch(.*)*', name: '', - component: Empty, + component: NotFound, }, ], }) diff --git a/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/Empty.vue b/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/Empty.vue deleted file mode 100644 index a73dc175e..000000000 --- a/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/Empty.vue +++ /dev/null @@ -1,21 +0,0 @@ - - - diff --git a/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/NotFound.vue b/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/NotFound.vue index c683a15a3..6bea91521 100644 --- a/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/NotFound.vue +++ b/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/NotFound.vue @@ -1,5 +1,5 @@ + + diff --git a/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/index.js b/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/index.js index 97628573a..e15474ec7 100644 --- a/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/index.js +++ b/openc3-cosmos-init/plugins/packages/openc3-vue-common/src/components/index.js @@ -23,7 +23,6 @@ import CriticalCmdDialog from './CriticalCmdDialog.vue' import { DataViewerComponent, DataViewerHistoryComponent } from './dataviewer' import DetailsDialog from './DetailsDialog.vue' import EditScreenDialog from './EditScreenDialog.vue' -import Empty from './Empty.vue' import EnvironmentChooser from './EnvironmentChooser.vue' import EnvironmentDialog from './EnvironmentDialog.vue' import FileOpenSaveDialog from './FileOpenSaveDialog.vue' @@ -52,7 +51,6 @@ export { DataViewerHistoryComponent, DetailsDialog, EditScreenDialog, - Empty, EnvironmentChooser, EnvironmentDialog, FileOpenSaveDialog,