mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
API: Fix incorrect updateComplete override
This commit is contained in:
parent
68351ffb37
commit
dd4a2de988
@ -154,14 +154,15 @@ export class Et2Link extends ExposeMixin<Et2Widget>(Et2Widget(LitElement)) imple
|
||||
super.connectedCallback();
|
||||
}
|
||||
|
||||
async _getUpdateComplete()
|
||||
async getUpdateComplete()
|
||||
{
|
||||
await super._getUpdateComplete();
|
||||
const result = await super.getUpdateComplete();
|
||||
if(this._titlePromise)
|
||||
{
|
||||
// Wait for the title to arrive before we say we're done
|
||||
await this._titlePromise;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -118,6 +118,16 @@ export class Et2LinkString extends Et2Widget(LitElement) implements et2_IDetache
|
||||
this.__showDeleted = false;
|
||||
}
|
||||
|
||||
async getUpdateComplete()
|
||||
{
|
||||
const result = await super.getUpdateComplete();
|
||||
if(this._loadingPromise)
|
||||
{
|
||||
// Wait for the values to arrive before we say we're done
|
||||
await this._loadingPromise;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value of the list
|
||||
|
Loading…
Reference in New Issue
Block a user