From 6d2ceb825530c32a7db09f5aa0b8bb2949034406 Mon Sep 17 00:00:00 2001 From: Paul Neubauer Date: Fri, 13 Jan 2023 14:03:53 +0100 Subject: [PATCH] Redesign component, fix translation --- .../Spaces/Details/SpaceDetailsMultiple.vue | 71 +++++++++++++++---- 1 file changed, 57 insertions(+), 14 deletions(-) diff --git a/packages/web-pkg/src/components/sideBar/Spaces/Details/SpaceDetailsMultiple.vue b/packages/web-pkg/src/components/sideBar/Spaces/Details/SpaceDetailsMultiple.vue index eb540cd2b6f..f783934bc7f 100644 --- a/packages/web-pkg/src/components/sideBar/Spaces/Details/SpaceDetailsMultiple.vue +++ b/packages/web-pkg/src/components/sideBar/Spaces/Details/SpaceDetailsMultiple.vue @@ -1,13 +1,26 @@ @@ -27,7 +40,6 @@ export default defineComponent({ }, setup(props) { const { $ngettext, $gettextInterpolate } = useTranslations() - console.log(props.selectedSpaces) const totalSelectedSpaceQuotaTotal = computed(() => { let total = 0 props.selectedSpaces.forEach((space) => { @@ -49,7 +61,7 @@ export default defineComponent({ }) return filesize(used) }) - const selectedSpacesString = computed(() =>{ + const selectedSpacesString = computed(() => { return $gettextInterpolate( $ngettext( '%{ itemCount } space selected', @@ -71,8 +83,39 @@ export default defineComponent({ })