fix a bug with updater where manifest might not exist, for whatever reason

pull/98/head
dperolio 2 years ago
parent 6fb7c2c1e6
commit 1d6c8aa784
No known key found for this signature in database
GPG Key ID: 4191689562D51409

@ -21,7 +21,8 @@ export default memo(props => {
src={`${Protocols.ASSETS}/images/logo.png`}
/>
)
: <>
: manifest && (
<>
<Icon
className='vz-updater-update-icon-badge-wrapper'
iconClassName='vz-updater-update-icon-badge'
@ -35,6 +36,7 @@ export default memo(props => {
src={manifest.icon}
/>
</>
)
}
</div>
{updateId === 'vizality'

Loading…
Cancel
Save