Remove horizontal menu state check

This commit is contained in:
Çetin
2022-07-26 11:49:27 +03:00
parent 9c92d14969
commit 592c3de859
3 changed files with 2 additions and 6 deletions

View File

@@ -148,7 +148,7 @@ export class AppMenuitemComponent implements OnInit, OnDestroy {
}
get submenuAnimation() {
if (this.layoutService.isDesktop() && (this.layoutService.isHorizontal() || this.layoutService.isSlim()))
if (this.layoutService.isDesktop() && this.layoutService.isSlim())
return this.active ? 'visible' : 'hidden';
else
return this.root ? 'expanded' : (this.active ? 'expanded' : 'collapsed');