}
get favIcon(): string {
- return this.state.community.icon
- ? this.state.community.icon
- : this.state.site.icon
- ? this.state.site.icon
- : favIconUrl;
+ return this.state.site.icon ? this.state.site.icon : favIconUrl;
}
render() {
enable_downvotes: undefined,
open_registration: undefined,
enable_nsfw: undefined,
+ icon: undefined,
+ banner: undefined,
},
online: null,
version: null,
}
get favIcon(): string {
- return this.state.post ? this.state.post.community_icon : favIconUrl;
+ return this.state.siteRes.site.icon
+ ? this.state.siteRes.site.icon
+ : favIconUrl;
}
render() {
}
get favIcon(): string {
- return this.state.user.avatar
- ? this.state.user.avatar
- : this.state.siteRes.site.icon
+ return this.state.siteRes.site.icon
? this.state.siteRes.site.icon
: favIconUrl;
}