Merge branch '774-async-table-async-form-fix' into 'master'

fix(async-tabel, async-form): removed destroyAll call

Closes #774

See merge request uni2work/uni2work!91
This commit is contained in:
Sarah Vaupel 2022-05-27 03:21:36 +02:00
commit f742da17df
2 changed files with 0 additions and 2 deletions

View File

@ -60,7 +60,6 @@ export class AsyncForm {
setTimeout(() => {
parentElement.insertBefore(responseElement, this._element);
this._element.remove();
this._app.utilRegistry.destroyAll(this._element);
}, delay);
}

View File

@ -447,7 +447,6 @@ export class AsyncTable {
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;