diff --git a/changelog/unreleased/bugfix-indicate-shares-not-managable-due-to-file-locking b/changelog/unreleased/bugfix-indicate-shares-not-managable-due-to-file-locking new file mode 100644 index 00000000000..4dfff547601 --- /dev/null +++ b/changelog/unreleased/bugfix-indicate-shares-not-managable-due-to-file-locking @@ -0,0 +1,7 @@ +Bugfix: Indicate shares that are not manageable due to file locking + +We indicate shares that are not manageable when a resource is locked, so the user doesn't run into errors, +while trying to delete or update a share. + +https://github.com/owncloud/web/pull/10514 +https://github.com/owncloud/web/issues/10507 diff --git a/packages/design-system/src/components/OcIcon/OcIcon.vue b/packages/design-system/src/components/OcIcon/OcIcon.vue index 46a4e948663..c2d9ca95faf 100644 --- a/packages/design-system/src/components/OcIcon/OcIcon.vue +++ b/packages/design-system/src/components/OcIcon/OcIcon.vue @@ -15,6 +15,7 @@ :aria-labelledby="accessibleLabel === '' ? null : svgTitleId" :focusable="accessibleLabel === '' ? 'false' : null" :style="color !== '' ? { fill: color } : {}" + @loaded="$emit('loaded')" /> @@ -86,6 +87,7 @@ export default defineComponent({ components: { InlineSvg }, + inheritAttrs: true, props: { /** * The name of the icon to display. @@ -155,6 +157,7 @@ export default defineComponent({ default: '' } }, + emits: ['loaded'], computed: { svgTitleId() { return uniqueId('oc-icon-title-') diff --git a/packages/design-system/src/components/OcResource/OcResource.vue b/packages/design-system/src/components/OcResource/OcResource.vue index d62ab0c4556..855fb5ebbc5 100644 --- a/packages/design-system/src/components/OcResource/OcResource.vue +++ b/packages/design-system/src/components/OcResource/OcResource.vue @@ -8,29 +8,24 @@ class="oc-resource-link" @click="emitClick" > - + + + + + + - - - - - + />
-