Skip to content

Commit

Permalink
feat(settings): hide up-to-date message during load
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
dpschen authored Apr 25, 2024
1 parent 1f2ad20 commit fd8411e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/settings/src/components/AppList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
<template v-if="useListView">
<div v-if="showUpdateAll" class="apps-list__toolbar">
{{ n('settings', '%n app has an update available', '%n apps have an update available', counter) }}
<NcButton v-if="showUpdateAll"
<NcButton
id="app-list-update-all"
type="primary"
@click="updateAll">
{{ n('settings', 'Update', 'Update all', counter) }}
</NcButton>
</div>

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

Expand Down

0 comments on commit fd8411e

Please sign in to comment.