mirror of
https://github.com/sasjs/server.git
synced 2026-01-11 16:20:06 +00:00
fix(log): fixed checks for errors and warnings
This commit is contained in:
@@ -115,7 +115,7 @@ const SASjsEditor = ({
|
||||
const logWithErrorsOrWarnings =
|
||||
selectedRunTime === RunTimeType.SAS &&
|
||||
log &&
|
||||
(log?.errors.length !== 0 || log?.warnings.length !== 0)
|
||||
(log.errors?.length !== 0 || log.warnings?.length !== 0)
|
||||
|
||||
return (
|
||||
<Box sx={{ width: '100%', typography: 'body1', marginTop: '50px' }}>
|
||||
|
||||
Reference in New Issue
Block a user