Skip to content

Commit

Permalink
Fixed position of Status menu item
Browse files Browse the repository at this point in the history
Also changed build datetime to plain string
  • Loading branch information
chrishamm committed Dec 23, 2022
1 parent c0b2b0b commit 331b3b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ export const Menu = Vue.observable<Record<string, MenuCategory>>({
icon: "mdi-tune",
caption: "menu.control.caption",
pages: [
{
icon: "mdi-list-status",
caption: "menu.control.status",
condition: () => Vue.prototype.$vuetify && Vue.prototype.$vuetify.breakpoint.smAndDown,
path: "/Status",
component: Status
},
{
icon: "mdi-view-dashboard",
caption: "menu.control.dashboard",
Expand All @@ -103,13 +110,6 @@ export const Menu = Vue.observable<Record<string, MenuCategory>>({
caption: "menu.control.console",
path: "/Console",
component: Console
},
{
icon: "mdi-list-status",
caption: "menu.control.status",
condition: () => Vue.prototype.$vuetify && Vue.prototype.$vuetify.breakpoint.smAndDown,
path: "/Status",
component: Status
}
],
translated: false
Expand Down
2 changes: 1 addition & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
},
plugins: [
new webpack.EnvironmentPlugin({
"BUILD_DATETIME": (new Date()).toISOString().replace('T', ' ').substring(0, 19)
"BUILD_DATETIME": (new Date()).toString()
}),
// Work around for Buffer is undefined:
// https://github.com/webpack/changelog-v5/issues/10
Expand Down

0 comments on commit 331b3b8

Please sign in to comment.