Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

always show the hamburger menu toggeler

bsatarnejadb369b2b81a97
diff --git a/frontend/src/app/core/main-menu/main-menu-toggle.component.html b/frontend/src/app/core/main-menu/main-menu-toggle.component.html
index 7f56f0ea203..bd9c72ba8d2 100644
--- a/frontend/src/app/core/main-menu/main-menu-toggle.component.html
+++ b/frontend/src/app/core/main-menu/main-menu-toggle.component.html
@@ -1,5 +1,4 @@
<button
- *ngIf="this.currentProject.id !== null || this.deviceService.isTablet"
class="op-app-menu--item-action"
id="main-menu-toggle"
aria-haspopup="true"
diff --git a/frontend/src/app/core/main-menu/main-menu-toggle.component.ts b/frontend/src/app/core/main-menu/main-menu-toggle.component.ts
index 91265cb2ea2..dc3b416bb9f 100644
--- a/frontend/src/app/core/main-menu/main-menu-toggle.component.ts
+++ b/frontend/src/app/core/main-menu/main-menu-toggle.component.ts
@@ -31,7 +31,6 @@ import {
} from '@angular/core';
import { distinctUntilChanged } from 'rxjs/operators';
import { CurrentProjectService } from 'core-app/core/current-project/current-project.service';
-import { DeviceService } from 'core-app/core/browser/device.service';
import { InjectField } from 'core-app/shared/helpers/angular/inject-field.decorator';
import { UntilDestroyedMixin } from 'core-app/shared/helpers/angular/until-destroyed.mixin';
import { MainMenuToggleService } from './main-menu-toggle.service';
@@ -56,7 +55,6 @@ export class MainMenuToggleComponent extends UntilDestroyedMixin implements OnIn
readonly topMenu:TopMenuService,
readonly toggleService:MainMenuToggleService,
readonly cdRef:ChangeDetectorRef,
- readonly deviceService:DeviceService,
readonly injector:Injector) {
super();
}