Skip to content

Commit fd8411e

Browse files
authored
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 1f2ad20 commit fd8411e

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
@@ -31,15 +31,15 @@
3131
<template v-if="useListView">
3232
<div v-if="showUpdateAll" class="apps-list__toolbar">
3333
{{ n('settings', '%n app has an update available', '%n apps have an update available', counter) }}
34-
<NcButton v-if="showUpdateAll"
34+
<NcButton
3535
id="app-list-update-all"
3636
type="primary"
3737
@click="updateAll">
3838
{{ n('settings', 'Update', 'Update all', counter) }}
3939
</NcButton>
4040
</div>
4141

42-
<div v-if="!showUpdateAll" class="apps-list__toolbar">
42+
<div v-else-if="!loading" class="apps-list__toolbar">
4343
{{ t('settings', 'All apps are up-to-date.') }}
4444
</div>
4545

0 commit comments

Comments
 (0)