Skip to content

Commit ec7fa2b

Browse files
committed
feat(settings): hide up-to-date message during load
During loading of the AppList the message 'All apps are up-to-date.' was always shown even if there were updates available afterwards. Signed-off-by: Dominik Pschenitschni <[email protected]>
1 parent 7ff123b commit ec7fa2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/settings/src/components/AppList.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
<template v-if="useListView">
1515
<div v-if="showUpdateAll" class="apps-list__toolbar">
1616
{{ n('settings', '%n app has an update available', '%n apps have an update available', counter) }}
17-
<NcButton v-if="showUpdateAll"
17+
<NcButton
1818
id="app-list-update-all"
1919
type="primary"
2020
@click="updateAll">
2121
{{ n('settings', 'Update', 'Update all', counter) }}
2222
</NcButton>
2323
</div>
2424

25-
<div v-if="!showUpdateAll" class="apps-list__toolbar">
25+
<div v-else-if="!loading" class="apps-list__toolbar">
2626
{{ t('settings', 'All apps are up-to-date.') }}
2727
</div>
2828

0 commit comments

Comments
 (0)