Settings page for clinic selection

This commit is contained in:
2023-05-16 22:04:37 -04:00
parent 15f5acbf52
commit 12a7c584a5
4 changed files with 79 additions and 66 deletions

View File

@@ -26,6 +26,7 @@
import RoutePlanner from './RoutePlanner.vue';
import RouteRecall from './RouteRecall.vue';
import RouteInbox from './RouteInbox.vue';
import RouteSettings from './RouteSettings.vue';
export default {
components: {
@@ -50,6 +51,7 @@
{ name: 'Planner', href: '/planner' },
{ name: 'Recall', href: '/recall' },
{ name: 'Inbox', href: '/inbox' },
{ name: 'Settings', href: '/settings' },
]
}
};
@@ -72,6 +74,7 @@
{ path: '/planner', component: RoutePlanner },
{ path: '/recall', component: RouteRecall },
{ path: '/inbox', component: RouteInbox },
{ path: '/settings', component: RouteSettings },
].forEach(route => this.$root.$router.addRoute(route));
await this.$root.$router.replace(this.$route);
}