From 9843cdf3c4b7634a10d121b0eb974df202ef7cab Mon Sep 17 00:00:00 2001 From: Johannes Eder Date: Fri, 6 Aug 2021 15:11:28 +0200 Subject: [PATCH] chore(async-table): added destroy before new html is set --- frontend/src/utils/async-table/async-table.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/utils/async-table/async-table.js b/frontend/src/utils/async-table/async-table.js index 68785f276..c0536136e 100644 --- a/frontend/src/utils/async-table/async-table.js +++ b/frontend/src/utils/async-table/async-table.js @@ -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;