set access level on inner getter

This commit is contained in:
Jacob Overgaard
2023-08-01 14:08:29 +02:00
parent 1cf90e8eb5
commit 60d8b49f5c

View File

@@ -35,7 +35,7 @@ export class UmbLocalizeElement extends UmbLitElement {
debug = false;
@state()
get text(): string {
protected get text(): string {
const localizedValue = this.localize.term(this.key, ...(this.args ?? []));
// If the value is the same as the key, it means the key was not found.