Fix icons for bundled perms in sharing details

It appears `NcCheckboxRadioSwitch` does not take icons via
`<template #icon>` (at least not anymore) but two options in the bundled
 perms still used that and that has been fixed in this commit.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
This commit is contained in:
fenn-cs 2023-11-24 23:53:22 +01:00 committed by Andy Scherzinger
parent b43325fb43
commit 38ac4f8d92
9 changed files with 16 additions and 21 deletions

View file

@ -34,15 +34,12 @@
type="radio"
button-variant-grouped="vertical"
@update:checked="toggleCustomPermissions">
<EditIcon :size="20" />
<template v-if="allowsFileDrop">
{{ t('files_sharing', 'Allow upload and editing') }}
<span>{{ t('files_sharing', 'Allow upload and editing') }}</span>
</template>
<template v-else>
{{ t('files_sharing', 'Allow editing') }}
</template>
<template #icon>
<EditIcon :size="20" />
<span>{{ t('files_sharing', 'Allow editing') }}</span>
</template>
</NcCheckboxRadioSwitch>
<NcCheckboxRadioSwitch v-if="allowsFileDrop"
@ -64,11 +61,9 @@
type="radio"
button-variant-grouped="vertical"
@update:checked="expandCustomPermissions">
{{ t('files_sharing', 'Custom permissions') }}
<DotsHorizontalIcon :size="20" />
<span>{{ t('files_sharing', 'Custom permissions') }}</span>
<small>{{ customPermissionsList }}</small>
<template #icon>
<DotsHorizontalIcon :size="20" />
</template>
</NcCheckboxRadioSwitch>
</div>
</div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
dist/core-common.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
dist/files-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long