We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4677006 commit c8b3cb7Copy full SHA for c8b3cb7
src/packages/media/media/modals/media-picker/media-picker-modal.element.ts
@@ -235,7 +235,7 @@ export class UmbMediaPickerModalElement extends UmbModalBaseElement<
235
return html`
236
<uui-card-media
237
class=${ifDefined(disabled ? 'not-allowed' : undefined)}
238
- .name=${item.name ?? 'Unnamed Media'}
+ .name=${item.name}
239
@open=${() => this.#onOpen(item)}
240
@selected=${() => this.#onSelected(item)}
241
@deselected=${() => this.#onDeselected(item)}
@@ -299,6 +299,7 @@ export class UmbMediaPickerModalElement extends UmbModalBaseElement<
299
300
.not-allowed {
301
cursor: not-allowed;
302
+ opacity: 0.5;
303
}
304
`,
305
];
0 commit comments