chore(async-table): added destroy before new html is set

This commit is contained in:
Johannes Eder 2021-08-06 15:11:28 +02:00 committed by Sarah Vaupel
parent 14a16c7283
commit 9843cdf3c4

View File

@ -447,6 +447,8 @@ export class AsyncTable {
this._active = false;
this._element.classList.remove(ASYNC_TABLE_INITIALIZED_CLASS);
this._element.dataset['currentTableUrl'] = url.href;
this._app.utilRegistry.destroyAll(this._element);
// update table with new
this._element.innerHTML = response.element.innerHTML;