Improve error handling on channel component

This commit is contained in:
nymkappa
2023-02-25 13:38:09 +09:00
parent 58eb6ccc8e
commit 8df2476266
3 changed files with 39 additions and 35 deletions

View File

@@ -38,7 +38,9 @@ export class ChannelComponent implements OnInit {
}),
catchError((err) => {
this.error = err;
return of(null);
return [{
short_id: params.get('short_id')
}];
})
);
}),