Skip to content
Snippets Groups Projects
Commit 76c3630c authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Update the table before we finish the lit-element update phase

Starting with 2.3.0 this results in an endless loop because it used to just
ignore properties set after update() was done, and now it triggers a new update.
parent a80c6bbf
No related branches found
No related tags found
No related merge requests found
...@@ -220,9 +220,8 @@ class DataTableView extends LitElement { ...@@ -220,9 +220,8 @@ class DataTableView extends LitElement {
} }
}); });
super.update(changedProperties);
this.updateComplete.then(this.set_datatable(this.data, languageChange)).catch(e => { console.log(e)}); this.updateComplete.then(this.set_datatable(this.data, languageChange)).catch(e => { console.log(e)});
super.update(changedProperties);
} }
static get styles() { static get styles() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment