This commit is contained in:
geek 2018-03-19 14:34:01 +09:00
parent 5e1e06fabe
commit 98986b3f2e

View File

@ -45,7 +45,7 @@ export class ListComponent implements OnInit, AfterContentInit {
this.dataSource.sort = this.sort; this.dataSource.sort = this.sort;
}, },
(error: RPCError) => { (error: RPCError) => {
console.log(error.message); console.log(error.response.message);
} }
); );
} }
@ -67,7 +67,7 @@ export class ListComponent implements OnInit, AfterContentInit {
this.dataSource.sort = this.sort; this.dataSource.sort = this.sort;
}, },
(error: RPCError) => { (error: RPCError) => {
console.log(error.message); console.log(error.response.message);
} }
); );
console.log(this.selected.id + ' accept'); console.log(this.selected.id + ' accept');
@ -81,7 +81,7 @@ export class ListComponent implements OnInit, AfterContentInit {
this.dataSource.sort = this.sort; this.dataSource.sort = this.sort;
}, },
(error: RPCError) => { (error: RPCError) => {
console.log(error.message); console.log(error.response.message);
} }
); );
console.log(this.selected.id + ' deny'); console.log(this.selected.id + ' deny');