feature: hide mainsail in the update manager in remoteMode

bugfix: fixed padding bottom of the close button in the UpdateDialog.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej committed 2021-01-12 23:13:06 +01:00
1 parent 0befcea658
commit 747722ec2c
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@
<span class="subheading"><v-icon left>mdi-update</v-icon>Updating {{ application }}{{ complete ? " done!" : "..." }}</span>
</v-toolbar-title>
</v-toolbar>
<v-card-text class="pt-6 pb-2">
<v-card-text class="py-6">
<v-data-table
:headers="headers"
:options="options"
@@ -53,7 +53,7 @@
</v-col>
</v-row>
</div>
<div v-if="mainsail !== false && 'version' in mainsail">
<div v-if="mainsail !== false && 'version' in mainsail && !remoteMode">
<v-divider class="mt-0 mb-0" ></v-divider>
<v-row class="py-2">
<v-col class="pl-6 text-no-wrap">
@@ -124,6 +124,7 @@
moonraker: state => state.server.updateManager.moonraker,
system: state => state.server.updateManager.system,
loadings: state => state.socket.loadings,
remoteMode: state => state.socket.remoteMode,
}),
mainsail:{
get() {