fix(show-hide): storage manager is not cleared

This commit is contained in:
Johannes Eder 2021-08-12 21:47:44 +02:00 committed by Sarah Vaupel
parent 204ce39f7c
commit 945368972d

View File

@ -70,7 +70,6 @@ export class ShowHide {
}
destroy() {
this._storageManager.clear({ location: LOCATION.LOCAL });
this._eventManager.cleanUp();
if (this._element.parentElement.classList.contains(SHOW_HIDE_COLLAPSED_CLASS))
this._element.parentElement.classList.remove(SHOW_HIDE_COLLAPSED_CLASS);