Skip to content

Commit 8852f89

Browse files
committed
make static again
1 parent b50391e commit 8852f89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/packages/documents/documents/modals/shared/document-variant-language-picker.element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ export class UmbDocumentVariantLanguagePickerElement extends UmbLitElement {
9191
@deselected=${() => this.selectionManager.deselect(option.unique)}
9292
?selected=${selected}>
9393
<uui-icon slot="icon" name="icon-globe"></uui-icon>
94-
${this.renderLabel(option, mustSelect)}
94+
${UmbDocumentVariantLanguagePickerElement.renderLabel(option, mustSelect)}
9595
</uui-menu-item>
9696
`;
9797
}
9898

99-
renderLabel(option: UmbDocumentVariantOptionModel, mustSelect: boolean) {
99+
static renderLabel(option: UmbDocumentVariantOptionModel, mustSelect?: boolean) {
100100
return html`<div class="label" slot="label">
101101
<strong> ${option.language.name} </strong>
102102
<div class="label-status">${UmbDocumentVariantLanguagePickerElement.renderVariantStatus(option)}</div>

0 commit comments

Comments
 (0)