Commit 7e800557 authored by James Addison's avatar James Addison
Browse files

Merge branch 'fixup/add-custom-brand-image-rejection-handler' into 'collabora'

Add promise rejection handler for custom brand image retrieval

See merge request !10
parents e1bb2fa2 4cde1fc7
Pipeline #28294 passed with stage
in 20 minutes and 8 seconds
......@@ -78,6 +78,9 @@ export default class BrandImageSetting extends React.PureComponent<Props, State>
} else {
this.setState({brandImageExists: false});
}
}).catch(() => {
console.log('unable to retrieve brand image'); //eslint-disable-line no-console
this.setState({brandImageExists: false});
});
this.props.registerSaveAction(this.handleSave);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment