[ControlSidebar]: Fix control sidebar when not using the slide animation.

This commit is contained in:
Diego Smania 2021-05-22 19:44:06 -03:00
parent a8d8a57e77
commit 69fba05862
2 changed files with 2 additions and 1 deletions

View file

@ -97,6 +97,7 @@ class ControlSidebar {
})
} else {
$body.addClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN)
$(this._config.target).show()
}
this._fixHeight()

View file

@ -155,7 +155,7 @@
</a>
</li>
<li class="nav-item">
<a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#" role="button">
<a class="nav-link" data-widget="control-sidebar" data-controlsidebar-slide="false" href="#" role="button">
<i class="fas fa-th-large"></i>
</a>
</li>