Skip to content

Commit 4737fbf

Browse files
committed
chore: Update default.vue to show update available for appManagerVersion and orchestratorVersion buttons
1 parent 0d6ac59 commit 4737fbf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/layouts/default.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,28 +35,28 @@ q-layout(view="hHh LpR lff" style="margin-top: -1px;")
3535
q-bar(:class="$q.dark.isActive ? 'bg-dark' : 'bg-white text-black'")
3636
span
3737
small AppManager 
38-
small(v-text="'v' + orchestratorVersion.currentVersion")
38+
small(v-text="'v' + (orchestratorVersion?.currentVersion || '0.0.0')")
3939
small.bold  / 
4040
span.q-mr-sm
4141
small Orchestrator 
42-
small(v-text="'v' + appManagerVersion.currentVersion")
42+
small(v-text="'v' + (appManagerVersion?.currentVersion || '0.0.0')")
4343
q-btn.q-px-xs(
44-
v-show="appManagerVersion.updateAvailable"
44+
v-show="appManagerVersion?.updateAvailable"
4545
flat stretch icon="mdi-alert-box" color="amber-9"
4646
href="https://github.com/Libertech-FR/sesame-app-manager/releases" target="_blank"
4747
) App Manager
4848
q-tooltip.text-body2.bg-amber-9
4949
| MAJ disponible (
50-
span(v-text="appManagerVersion.lastVersion")
50+
span(v-text="appManagerVersion?.lastVersion || '0.0.0'")
5151
| )
5252
q-btn.q-px-xs(
53-
v-show="orchestratorVersion.updateAvailable"
53+
v-show="orchestratorVersion?.updateAvailable"
5454
flat stretch icon="mdi-alert-box" color="amber-9"
5555
href="https://github.com/Libertech-FR/sesame-orchestrator/releases" target="_blank"
5656
) Orchestrator
5757
q-tooltip.text-body2.bg-amber-9
5858
| MAJ disponible (
59-
span(v-text="orchestratorVersion.lastVersion")
59+
span(v-text="orchestratorVersion?.lastVersion || '0.0.0'")
6060
| )
6161
q-space
6262
q-btn.q-px-sm(flat stretch icon="mdi-help" href="https://libertech-fr.github.io/sesame-doc/" target="_blank")

0 commit comments

Comments
 (0)