mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
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:
parent
b43325fb43
commit
38ac4f8d92
9 changed files with 16 additions and 21 deletions
|
|
@ -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
4
dist/core-common.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-common.js.map
vendored
2
dist/core-common.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files_sharing-files_sharing_tab.js
vendored
4
dist/files_sharing-files_sharing_tab.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_sharing-files_sharing_tab.js.map
vendored
2
dist/files_sharing-files_sharing_tab.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue