mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Fix new account does not update but stays at "loading"
This commit is contained in:
parent
e239f092e4
commit
14bc21de98
@ -514,7 +514,7 @@ export class Et2Tree extends Et2WidgetWithSelectMixin(LitElement) implements Fin
|
|||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
}
|
}
|
||||||
return this.handleLazyLoading(item).then((result) => {
|
return this.handleLazyLoading(item).then((result) => {
|
||||||
item.item = [...result.item]
|
Object.assign(item, result);
|
||||||
this.requestUpdate("_selectOptions")
|
this.requestUpdate("_selectOptions")
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -682,7 +682,8 @@ app.classes.mail = AppJS.extend(
|
|||||||
|
|
||||||
tree._selectOptions.push({
|
tree._selectOptions.push({
|
||||||
id: "" + _id,
|
id: "" + _id,
|
||||||
label: this.egw.lang("Loading..."),
|
// Use text instead of label because server side is only sending text
|
||||||
|
text: this.egw.lang("Loading..."),
|
||||||
selected: false,
|
selected: false,
|
||||||
loading: true,
|
loading: true,
|
||||||
lazy: true
|
lazy: true
|
||||||
|
Loading…
Reference in New Issue
Block a user