fix(show-hide): storage manager is not cleared
This commit is contained in:
parent
204ce39f7c
commit
945368972d
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user