aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r--client/src/app/+admin/friends/friend-add/friend-add.component.ts2
-rw-r--r--client/src/app/+admin/friends/friend-list/friend-list.component.ts6
-rw-r--r--client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts2
-rw-r--r--client/src/app/+admin/users/user-list/user-list.component.ts4
-rw-r--r--client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts2
5 files changed, 8 insertions, 8 deletions
diff --git a/client/src/app/+admin/friends/friend-add/friend-add.component.ts b/client/src/app/+admin/friends/friend-add/friend-add.component.ts
index e0b73dfa3..6580e1b88 100644
--- a/client/src/app/+admin/friends/friend-add/friend-add.component.ts
+++ b/client/src/app/+admin/friends/friend-add/friend-add.component.ts
@@ -98,7 +98,7 @@ export class FriendAddComponent implements OnInit {
98 setTimeout(() => this.router.navigate([ '/admin/friends/list' ]), 1000) 98 setTimeout(() => this.router.navigate([ '/admin/friends/list' ]), 1000)
99 }, 99 },
100 100
101 err => this.notificationsService.error('Error', err) 101 err => this.notificationsService.error('Error', err.message)
102 ) 102 )
103 } 103 }
104 ) 104 )
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}
diff --git a/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts b/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts
index 1edeb31fe..1654827ab 100644
--- a/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts
+++ b/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts
@@ -57,7 +57,7 @@ export class RequestSchedulersStatsComponent implements OnInit, OnDestroy {
57 this.requestService.getStats().subscribe( 57 this.requestService.getStats().subscribe(
58 stats => this.stats = stats, 58 stats => this.stats = stats,
59 59
60 err => this.notificationsService.error('Error', err) 60 err => this.notificationsService.error('Error', err.message)
61 ) 61 )
62 } 62 }
63 63
diff --git a/client/src/app/+admin/users/user-list/user-list.component.ts b/client/src/app/+admin/users/user-list/user-list.component.ts
index c3fa55825..73b5c0ce9 100644
--- a/client/src/app/+admin/users/user-list/user-list.component.ts
+++ b/client/src/app/+admin/users/user-list/user-list.component.ts
@@ -47,7 +47,7 @@ export class UserListComponent extends RestTable implements OnInit {
47 this.loadData() 47 this.loadData()
48 }, 48 },
49 49
50 err => this.notificationsService.error('Error', err) 50 err => this.notificationsService.error('Error', err.message)
51 ) 51 )
52 } 52 }
53 ) 53 )
@@ -65,7 +65,7 @@ export class UserListComponent extends RestTable implements OnInit {
65 this.totalRecords = resultList.total 65 this.totalRecords = resultList.total
66 }, 66 },
67 67
68 err => this.notificationsService.error('Error', err) 68 err => this.notificationsService.error('Error', err.message)
69 ) 69 )
70 } 70 }
71} 71}
diff --git a/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts b/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts
index 5a0131a81..92de11f0e 100644
--- a/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts
+++ b/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts
@@ -40,7 +40,7 @@ export class VideoAbuseListComponent extends RestTable implements OnInit {
40 this.totalRecords = resultList.total 40 this.totalRecords = resultList.total
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}