mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
fix et2-link shows ?? for no or empty value
This commit is contained in:
parent
240f79efbf
commit
0105124a7d
@ -266,7 +266,7 @@ export class Et2Link extends ExposeMixin<Et2Widget>(Et2Widget(LitElement)) imple
|
||||
super.requestUpdate();
|
||||
if(changedProperties.has("app") || changedProperties.has("entry_id"))
|
||||
{
|
||||
if(!this.app || !this.entry_id || (this.app && this.entry_id && !this._title))
|
||||
if(this.app && this.entry_id && !this._title)
|
||||
{
|
||||
this._title = Et2Link.MISSING_TITLE;
|
||||
}
|
||||
@ -343,4 +343,4 @@ export interface LinkInfo
|
||||
download_url? : string,
|
||||
target? : string,
|
||||
mode? : number
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user