Skip to content

Commit

Permalink
Remove console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
joepavitt committed Dec 2, 2024
1 parent 80f3543 commit 13357b9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions ui/src/main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@ fetch('_setup')
disconnected = true
}

console.log(store)
console.log(store.getters['ui/dashboard'])

const dashboard = store.getters['ui/dashboard']
if (dashboard?.showDisconnectNotification) {
// tell the user we're trying to connect
Expand Down
2 changes: 0 additions & 2 deletions ui/src/store/ui.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ const getters = {
},
dashboard (state) {
const dashboards = Object.keys(state.dashboards)
console.log(dashboards)
const id = dashboards.length ? dashboards[0] : undefined
console.log(id)
return id ? state.dashboards[id] : undefined
},
pages (state) {
Expand Down

0 comments on commit 13357b9

Please sign in to comment.