Skip to content

Commit

Permalink
refactor: refactor TheTopbar.vue and remove unused getter and fix sna…
Browse files Browse the repository at this point in the history
…ckbar

Signed-off-by: Stefan Dej <[email protected]>
  • Loading branch information
meteyou committed Jun 30, 2024
1 parent 2ab0c87 commit 4130962
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/TheTopbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<the-settings-menu />
<the-top-corner-menu />
</v-app-bar>
<v-snackbar v-model="uploadSnackbar.status" :timeout="-1" :value="true" fixed right bottom>
<v-snackbar v-model="uploadSnackbar.status" :timeout="-1" fixed right bottom>
<strong>{{ $t('App.TopBar.Uploading') }} {{ uploadSnackbar.filename }}</strong>
<br />
{{ Math.round(uploadSnackbar.percent) }} % @ {{ formatFilesize(Math.round(uploadSnackbar.speed)) }}/s
Expand Down Expand Up @@ -180,10 +180,6 @@ export default class TheTopbar extends Mixins(BaseMixin) {
return this.$store.state.printer.hostname
}
get boolWideNavDrawer() {
return this.$store.state.gui.uiSettings.boolWideNavDrawer ?? false
}
get countPrinters() {
return this.$store.getters['farm/countPrinters']
}
Expand Down

0 comments on commit 4130962

Please sign in to comment.