fix: Fix error output when sending email or message to Slack

This commit is contained in:
Maksim Eltyshev
2024-04-12 12:07:19 +02:00
parent 16499052f7
commit 8a8c1fee0c
3 changed files with 6 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ const mapStateToProps = (state) => {
isSubmittingUsingOidc,
error,
withOidc: !!oidcConfig,
isOidcEnforced: oidcConfig && oidcConfig.isEnforced,
isOidcEnforced: !!oidcConfig && oidcConfig.isEnforced,
};
};