diff --git a/src/components/Widgets/NextcloudUser.vue b/src/components/Widgets/NextcloudUser.vue index 75e3a222..a0a2ab78 100644 --- a/src/components/Widgets/NextcloudUser.vue +++ b/src/components/Widgets/NextcloudUser.vue @@ -44,7 +44,6 @@ import WidgetMixin from '@/mixins/WidgetMixin'; import NextcloudMixin from '@/mixins/NextcloudMixin'; import PercentageChart from '@/components/Charts/PercentageChart'; -import { convertBytes } from '@/utils/MiscHelpers'; /** * NextcloudUser widget - Displays branding and user information @@ -110,9 +109,9 @@ export default { quotaTooltip() { const quotaEnabled = this.user.quota.quota > 0; const content = `${this.tt('quota-enabled', { not: quotaEnabled ? '' : 'not ' })}` - + `

${convertBytes(this.user.quota.used)} ${this.tt('used')}
` - + `${convertBytes(this.user.quota.free)} ${this.tt('free')}
` - + `${convertBytes(this.user.quota.total)} ${this.tt('total')}`; + + `

${this.convertBytes(this.user.quota.used)} ${this.tt('used')}
` + + `${this.convertBytes(this.user.quota.free)} ${this.tt('free')}
` + + `${this.convertBytes(this.user.quota.total)} ${this.tt('total')}`; return { content, html: true, trigger: 'hover focus', delay: 250, classes: 'nc-tooltip', };