projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d592e0a
)
err.text -> err
author
Chocobozzz
<florian.bigard@gmail.com>
Thu, 14 Sep 2017 09:58:25 +0000
(11:58 +0200)
committer
Chocobozzz
<florian.bigard@gmail.com>
Thu, 14 Sep 2017 09:58:25 +0000
(11:58 +0200)
client/src/app/+admin/friends/friend-add/friend-add.component.ts
patch
|
blob
|
history
client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts
patch
|
blob
|
history
client/src/app/+admin/users/user-edit/user-add.component.ts
patch
|
blob
|
history
client/src/app/+admin/users/user-edit/user-update.component.ts
patch
|
blob
|
history
client/src/app/signup/signup.component.ts
patch
|
blob
|
history
client/src/app/videos/video-watch/video-report.component.ts
patch
|
blob
|
history
client/src/app/videos/video-watch/video-watch.component.ts
patch
|
blob
|
history
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 02543d393a027be33ff9f2a48db1322bcc1c413b..e0b73dfa3c6d4bd485d53648c22289e5ae8e16ac 100644
(file)
--- 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 {
setTimeout(() => this.router.navigate([ '/admin/friends/list' ]), 1000)
},
setTimeout(() => this.router.navigate([ '/admin/friends/list' ]), 1000)
},
- err => this.notificationsService.error('Error', err
.text
)
+ err => this.notificationsService.error('Error', err)
)
}
)
)
}
)
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 4e3fabc645808232cc51febe668e2bc9dfabbe91..1edeb31febf135126fe5db9c4dcf779c89144c8b 100644
(file)
--- 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 {
this.requestService.getStats().subscribe(
stats => this.stats = stats,
this.requestService.getStats().subscribe(
stats => this.stats = stats,
- err => this.notificationsService.error('Error', err
.text
)
+ err => this.notificationsService.error('Error', err)
)
}
)
}
diff --git
a/client/src/app/+admin/users/user-edit/user-add.component.ts
b/client/src/app/+admin/users/user-edit/user-add.component.ts
index 40f649cff6ef2367163c2732c567e2c817b090e1..5dc069104d6b1c102569113308561cd13c97886b 100644
(file)
--- a/
client/src/app/+admin/users/user-edit/user-add.component.ts
+++ b/
client/src/app/+admin/users/user-edit/user-add.component.ts
@@
-73,7
+73,7
@@
export class UserAddComponent extends UserEdit implements OnInit {
this.router.navigate([ '/admin/users/list' ])
},
this.router.navigate([ '/admin/users/list' ])
},
- err => this.error = err
.text
+ err => this.error = err
)
}
)
}
diff --git
a/client/src/app/+admin/users/user-edit/user-update.component.ts
b/client/src/app/+admin/users/user-edit/user-update.component.ts
index dbac5f974dd0e5120210c77a2b120383dc64b181..0966981c06ce7deb766e3762fa890c4a5ceb0817 100644
(file)
--- a/
client/src/app/+admin/users/user-edit/user-update.component.ts
+++ b/
client/src/app/+admin/users/user-edit/user-update.component.ts
@@
-59,7
+59,7
@@
export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy {
this.userService.getUser(userId).subscribe(
user => this.onUserFetched(user),
this.userService.getUser(userId).subscribe(
user => this.onUserFetched(user),
- err => this.error = err
.text
+ err => this.error = err
)
})
}
)
})
}
@@
-82,7
+82,7
@@
export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy {
this.router.navigate([ '/admin/users/list' ])
},
this.router.navigate([ '/admin/users/list' ])
},
- err => this.error = err
.text
+ err => this.error = err
)
}
)
}
diff --git
a/client/src/app/signup/signup.component.ts
b/client/src/app/signup/signup.component.ts
index 981fe3c3bf5190eaa606f8e0a682bbfd54653887..65a2d44e398663cae5b3b4e091b6df6c2f7051a5 100644
(file)
--- a/
client/src/app/signup/signup.component.ts
+++ b/
client/src/app/signup/signup.component.ts
@@
-67,7
+67,7
@@
export class SignupComponent extends FormReactive implements OnInit {
this.router.navigate([ '/videos/list' ])
},
this.router.navigate([ '/videos/list' ])
},
- err => this.error = err
.text
+ err => this.error = err
)
}
}
)
}
}
diff --git
a/client/src/app/videos/video-watch/video-report.component.ts
b/client/src/app/videos/video-watch/video-report.component.ts
index 61213cd684dab17ab40123c1619f513741e636ec..a5758060d7fd482fec62f900255c6ea3d2f0063e 100644
(file)
--- a/
client/src/app/videos/video-watch/video-report.component.ts
+++ b/
client/src/app/videos/video-watch/video-report.component.ts
@@
-63,7
+63,7
@@
export class VideoReportComponent extends FormReactive implements OnInit {
this.hide()
},
this.hide()
},
- err => this.notificationsService.error('Error', err
.text
)
+ err => this.notificationsService.error('Error', err)
)
}
}
)
}
}
diff --git
a/client/src/app/videos/video-watch/video-watch.component.ts
b/client/src/app/videos/video-watch/video-watch.component.ts
index 25575769214e9ce4b2c0b0dd52dda2097b8a6946..9cedc9c761b448a855a509a62d455c3f6f8d0857 100644
(file)
--- a/
client/src/app/videos/video-watch/video-watch.component.ts
+++ b/
client/src/app/videos/video-watch/video-watch.component.ts
@@
-158,7
+158,7
@@
export class VideoWatchComponent implements OnInit, OnDestroy {
this.userRating = 'like'
},
this.userRating = 'like'
},
- err => this.notificationsService.error('Error', err
.text
)
+ err => this.notificationsService.error('Error', err)
)
}
)
}
@@
-175,7
+175,7
@@
export class VideoWatchComponent implements OnInit, OnDestroy {
this.userRating = 'dislike'
},
this.userRating = 'dislike'
},
- err => this.notificationsService.error('Error', err
.text
)
+ err => this.notificationsService.error('Error', err)
)
}
)
}
@@
-275,7
+275,7
@@
export class VideoWatchComponent implements OnInit, OnDestroy {
}
},
}
},
- err => this.notificationsService.error('Error', err
.text
)
+ err => this.notificationsService.error('Error', err)
)
}
)
}