diff options
author | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2022-08-19 21:24:57 +0300 |
---|---|---|
committer | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2022-08-19 21:24:57 +0300 |
commit | 64b1468c2defb63c882d8dffd783c3a5b1c7bac8 (patch) | |
tree | 03f2ab40ec24c82aa62f3d43b9d7aa23142ec87d /src | |
parent | 1a7b9da7a0c43aac68223d2e07d23de28686df79 (diff) |
Use NcCounterBubble
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/AppNavigation/ListItemCalendar.vue | 8 | ||||
-rw-r--r-- | src/views/AppNavigation.vue | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/components/AppNavigation/ListItemCalendar.vue b/src/components/AppNavigation/ListItemCalendar.vue index 8692f812..950766d6 100644 --- a/src/components/AppNavigation/ListItemCalendar.vue +++ b/src/components/AppNavigation/ListItemCalendar.vue @@ -48,9 +48,9 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. </NcActions> <NcAvatar v-if="calendar.isSharedWithMe && loadedOwnerPrincipal" :user="ownerUserId" :display-name="ownerDisplayname" /> <div v-if="calendar.isSharedWithMe && !loadedOwnerPrincipal" class="icon icon-loading" /> - <NcAppNavigationCounter v-if="calendarCount"> + <NcCounterBubble v-if="calendarCount"> {{ counterFormatter(calendarCount) }} - </NcAppNavigationCounter> + </NcCounterBubble> </template> <template v-if="!deleteTimeout" #actions> @@ -146,7 +146,7 @@ import { translate as t, translatePlural as n } from '@nextcloud/l10n' import { generateRemoteUrl } from '@nextcloud/router' import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar' import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem' -import NcAppNavigationCounter from '@nextcloud/vue/dist/Components/NcAppNavigationCounter' +import NcCounterBubble from '@nextcloud/vue/dist/Components/NcCounterBubble' import NcAppNavigationIconBullet from '@nextcloud/vue/dist/Components/NcAppNavigationIconBullet' import NcActions from '@nextcloud/vue/dist/Components/NcActions' import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton' @@ -172,7 +172,7 @@ export default { ShareCalendar, NcAvatar, NcAppNavigationItem, - NcAppNavigationCounter, + NcCounterBubble, NcAppNavigationIconBullet, NcActions, NcActionButton, diff --git a/src/views/AppNavigation.vue b/src/views/AppNavigation.vue index 43dea709..f21929bb 100644 --- a/src/views/AppNavigation.vue +++ b/src/views/AppNavigation.vue @@ -42,9 +42,9 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. :size="20" /> </template> <template #counter> - <NcAppNavigationCounter v-show="collectionCount(collection.id)"> + <NcCounterBubble v-show="collectionCount(collection.id)"> {{ counterFormatter(collectionCount(collection.id)) }} - </NcAppNavigationCounter> + </NcCounterBubble> </template> </NcAppNavigationItem> <draggable class="draggable-container" @@ -109,8 +109,8 @@ import Trashbin from '../components/AppNavigation/Trashbin.vue' import { translate as t } from '@nextcloud/l10n' import NcAppNavigation from '@nextcloud/vue/dist/Components/NcAppNavigation' -import NcAppNavigationCounter from '@nextcloud/vue/dist/Components/NcAppNavigationCounter' import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem' +import NcCounterBubble from '@nextcloud/vue/dist/Components/NcCounterBubble' import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip' import CalendarToday from 'vue-material-design-icons/CalendarToday' @@ -132,7 +132,7 @@ export default { Trashbin, NcAppNavigation, NcAppNavigationItem, - NcAppNavigationCounter, + NcCounterBubble, AppNavigationSettings, draggable, CalendarToday, |