Commit c1333152 authored by Nicolas Frandeboeuf's avatar Nicolas Frandeboeuf Committed by Nicolas Frandeboeuf

Fix "Missing translation key for 'null'"

parent 90d5a18e
Pipeline #148664 passed with stages
in 9 minutes and 4 seconds
......@@ -41,11 +41,13 @@ export const LoadingOverlay = connect(state => {
processingReason: get.backgroundProcessingReason(state)
};
})(props => {
if (!props.processingReason) {
return null;
}
return (
<DisplayIf condition={props.processingReason !== null}>
<div id="loading-overlay">
<LoadingMessage message={$t(props.processingReason)} />
</div>
</DisplayIf>
<div id="loading-overlay">
<LoadingMessage message={$t(props.processingReason)} />
</div>
);
});
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