Skip to content
Snippets Groups Projects
Commit 069a3bd9 authored by Hagen Dreßler's avatar Hagen Dreßler
Browse files

Add neutral feedback option

parent c7b5ac92
Branches
Tags
No related merge requests found
...@@ -12,12 +12,13 @@ export class FeedbackBarometerPageComponent implements OnInit { ...@@ -12,12 +12,13 @@ export class FeedbackBarometerPageComponent implements OnInit {
feedback: any = [ feedback: any = [
{ state: 0, name: 'sentiment_very_satisfied', message: 'I can follow you.', count: 0, }, { state: 0, name: 'sentiment_very_satisfied', message: 'I can follow you.', count: 0, },
{ state: 1, name: 'sentiment_satisfied', message: 'Faster, please!', count: 0, }, { state: 1, name: 'sentiment_satisfied', message: 'Faster, please!', count: 0, },
{ state: 2, name: 'sentiment_dissatisfied', message: 'Slower, please!', count: 0, }, { state: 2, name: 'sentiment_neutral', message: 'It\'s ok!', count: 0, },
{ state: 3, name: 'sentiment_very_dissatisfied', message: 'You\'ve lost me.', count: 0, }, { state: 3, name: 'sentiment_dissatisfied', message: 'Slower, please!', count: 0, },
{ state: 4, name: 'sentiment_very_dissatisfied', message: 'You\'ve lost me.', count: 0, },
]; ];
userRole: UserRole; userRole: UserRole;
dummy = [2, 3, 0, 1]; // dummy data -> delete this with api implementation and add get-data dummy = [2, 3, 2, 0, 1]; // dummy data -> delete this with api implementation and add get-data
constructor( constructor(
private authenticationService: AuthenticationService, private authenticationService: AuthenticationService,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment