better code reuse and "Username" to "Bot Display Name"

This commit is contained in:
LouisLam
2021-08-08 11:03:22 +08:00
parent c990edc87d
commit d5b40dfebf
5 changed files with 22 additions and 10 deletions

View File

@@ -15,6 +15,7 @@ import Details from "./pages/Details.vue";
import EditMonitor from "./pages/EditMonitor.vue";
import Settings from "./pages/Settings.vue";
import Setup from "./pages/Setup.vue";
import { appName } from "./util.ts";
const routes = [
{
@@ -77,6 +78,11 @@ const app = createApp({
mixins: [
socket,
],
data() {
return {
appName: appName
}
},
render: () => h(App),
})