diff --git a/src/app/feedback/feedback.component.html b/src/app/feedback/feedback.component.html
index c83d860df0..742a0352ea 100644
--- a/src/app/feedback/feedback.component.html
+++ b/src/app/feedback/feedback.component.html
@@ -1,25 +1,59 @@
-
- Feedback List
-
-
-
- All
- {{option}}
-
-
-
-
- All
- {{option.text}}
-
-
- search
-
-
-
-
+
+
+
+ Feedback List
+
+
+
+
+
+
+
+
+
+ Feedback List
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ All
+ {{option}}
+
+
+
+
+ All
+ {{option.text}}
+
+
+
+
+ search
+
+
+
+
+
diff --git a/src/app/feedback/feedback.component.ts b/src/app/feedback/feedback.component.ts
index d9c7aaa8d5..6500561806 100644
--- a/src/app/feedback/feedback.component.ts
+++ b/src/app/feedback/feedback.component.ts
@@ -1,4 +1,4 @@
-import { Component, OnInit, ViewChild, AfterViewInit, OnDestroy } from '@angular/core';
+import { Component, OnInit, ViewChild, AfterViewInit, OnDestroy, HostListener } from '@angular/core';
import { CouchService } from '../shared/couchdb.service';
import { combineLatest } from 'rxjs';
import { MatDialog } from '@angular/material/dialog';
@@ -18,6 +18,7 @@ import { Router } from '@angular/router';
import { StateService } from '../shared/state.service';
import { DialogsLoadingService } from '../shared/dialogs/dialogs-loading.service';
import { UsersService } from '../users/users.service';
+import { DeviceInfoService, DeviceType } from '../shared/device-info.service';
@Component({
@@ -54,6 +55,9 @@ export class FeedbackComponent implements OnInit, AfterViewInit, OnDestroy {
private onDestroy$ = new Subject();
emptyData = false;
users = [];
+ deviceType: DeviceType;
+ deviceTypes: typeof DeviceType = DeviceType;
+ showFiltersRow = false;
constructor(
private couchService: CouchService,
@@ -64,8 +68,15 @@ export class FeedbackComponent implements OnInit, AfterViewInit, OnDestroy {
private router: Router,
private stateService: StateService,
private dialogsLoadingService: DialogsLoadingService,
- private usersService: UsersService
- ) {}
+ private usersService: UsersService,
+ private deviceInfoService: DeviceInfoService
+ ) {
+ this.deviceType = this.deviceInfoService.getDeviceType();
+ }
+
+ @HostListener('window:resize') OnResize() {
+ this.deviceType = this.deviceInfoService.getDeviceType();
+ }
ngOnInit() {
if (this.stateService.configuration.planetType === 'community') {