diff options
Diffstat (limited to 'client/src/app/+admin/friends/friend-list')
-rw-r--r-- | client/src/app/+admin/friends/friend-list/friend-list.component.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+admin/friends/friend-list/friend-list.component.ts b/client/src/app/+admin/friends/friend-list/friend-list.component.ts index 6a8bd492c..4af39c47e 100644 --- a/client/src/app/+admin/friends/friend-list/friend-list.component.ts +++ b/client/src/app/+admin/friends/friend-list/friend-list.component.ts | |||
@@ -40,7 +40,7 @@ export class FriendListComponent implements OnInit { | |||
40 | this.loadData() | 40 | this.loadData() |
41 | }, | 41 | }, |
42 | 42 | ||
43 | err => this.notificationsService.error('Error', err) | 43 | err => this.notificationsService.error('Error', err.message) |
44 | ) | 44 | ) |
45 | } | 45 | } |
46 | ) | 46 | ) |
@@ -59,7 +59,7 @@ export class FriendListComponent implements OnInit { | |||
59 | this.loadData() | 59 | this.loadData() |
60 | }, | 60 | }, |
61 | 61 | ||
62 | err => this.notificationsService.error('Error', err) | 62 | err => this.notificationsService.error('Error', err.message) |
63 | ) | 63 | ) |
64 | } | 64 | } |
65 | ) | 65 | ) |
@@ -72,7 +72,7 @@ export class FriendListComponent implements OnInit { | |||
72 | this.friends = resultList.data | 72 | this.friends = resultList.data |
73 | }, | 73 | }, |
74 | 74 | ||
75 | err => this.notificationsService.error('Error', err) | 75 | err => this.notificationsService.error('Error', err.message) |
76 | ) | 76 | ) |
77 | } | 77 | } |
78 | } | 78 | } |