1e7e7a7b7a
* Fix avatar occasionally stuck in spaceman ## Issue Sometimes, we'll see a channel profile (e.g. in upper-right, in channel selector) stuck in the fallback Spaceman image. This is due to OptimizedImage always starting with a blank src, and updated later when the mounted size has been determined. ChannelThumbnail, which uses OptimizedImage, captured the `onError` due to blank src. ## Fix Don't mount the <img> until the optimum size has been determined. * FileThumbnail: skip resolve if thumbnail url is specified * UriIndicator: skip resolve if channel info is specified * Notifications: disable batch resolve + use fetched data if available + fallback to resolve if n/a The fallback is using the individual resolve when no direct data is provided and claim is undefined. |
||
---|---|---|
.. | ||
index.js | ||
view.jsx |