aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/users/user-edit
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-09-14 11:58:25 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-09-14 11:58:25 +0200
commit03b40f24878e4ceef19c9a8a7539f59061f31c84 (patch)
tree41fad6ed28c42c2a3790f036d9c86488f10bc433 /client/src/app/+admin/users/user-edit
parentd592e0a9b2931c7c9cbedb27fb8efc9aaacad9bb (diff)
downloadPeerTube-03b40f24878e4ceef19c9a8a7539f59061f31c84.tar.gz
PeerTube-03b40f24878e4ceef19c9a8a7539f59061f31c84.tar.zst
PeerTube-03b40f24878e4ceef19c9a8a7539f59061f31c84.zip
err.text -> err
Diffstat (limited to 'client/src/app/+admin/users/user-edit')
-rw-r--r--client/src/app/+admin/users/user-edit/user-add.component.ts2
-rw-r--r--client/src/app/+admin/users/user-edit/user-update.component.ts4
2 files changed, 3 insertions, 3 deletions
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 40f649cff..5dc069104 100644
--- 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 {
73 this.router.navigate([ '/admin/users/list' ]) 73 this.router.navigate([ '/admin/users/list' ])
74 }, 74 },
75 75
76 err => this.error = err.text 76 err => this.error = err
77 ) 77 )
78 } 78 }
79 79
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 dbac5f974..0966981c0 100644
--- 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 {
59 this.userService.getUser(userId).subscribe( 59 this.userService.getUser(userId).subscribe(
60 user => this.onUserFetched(user), 60 user => this.onUserFetched(user),
61 61
62 err => this.error = err.text 62 err => this.error = err
63 ) 63 )
64 }) 64 })
65 } 65 }
@@ -82,7 +82,7 @@ export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy {
82 this.router.navigate([ '/admin/users/list' ]) 82 this.router.navigate([ '/admin/users/list' ])
83 }, 83 },
84 84
85 err => this.error = err.text 85 err => this.error = err
86 ) 86 )
87 } 87 }
88 88