From 4130962a411adfcff16cb1551c695def51c605cb Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sun, 30 Jun 2024 20:50:40 +0200 Subject: [PATCH] refactor: refactor TheTopbar.vue and remove unused getter and fix snackbar Signed-off-by: Stefan Dej --- src/components/TheTopbar.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/TheTopbar.vue b/src/components/TheTopbar.vue index 8fa913759..ac4cdfb40 100644 --- a/src/components/TheTopbar.vue +++ b/src/components/TheTopbar.vue @@ -57,7 +57,7 @@ - + {{ $t('App.TopBar.Uploading') }} {{ uploadSnackbar.filename }}
{{ Math.round(uploadSnackbar.percent) }} % @ {{ formatFilesize(Math.round(uploadSnackbar.speed)) }}/s @@ -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'] }