Skip to content

Commit

Permalink
fix(ui): set Control Panel as main page (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando authored Feb 19, 2021
1 parent bb33a3c commit bbf6864
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/dialogs/DialogAddRemove.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default {
}, 100)
},
controllerStatus (status) {
if (status.indexOf('clusion') > 0) {
if (status && status.indexOf('clusion') > 0) {
if (this.state === 'new') return // ignore initial status
// inclusion/exclusion started, start the countdown timer
Expand Down
2 changes: 1 addition & 1 deletion src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const Routes = {
mesh: '/mesh'
}

Routes.main = Routes.settings
Routes.main = Routes.controlPanel

const router = new Router({
mode: 'history',
Expand Down

0 comments on commit bbf6864

Please sign in to comment.