mirror of
https://github.com/sasjs/server.git
synced 2026-01-15 18:00:05 +00:00
feat(log): use improved log for SAS run time only
This commit is contained in:
@@ -16,15 +16,14 @@ const LogTabWithIcons = (props: LogTabProps) => {
|
||||
gap: 6,
|
||||
alignItems: 'center'
|
||||
}}
|
||||
onClick={() => {
|
||||
const logWrapper = document.querySelector(`#logWrapper`)
|
||||
|
||||
if (logWrapper) logWrapper.scrollTop = 0
|
||||
}}
|
||||
>
|
||||
<span>log</span>
|
||||
{errors.length && <ErrorOutline color="error" style={{ fontSize: 20 }} />}
|
||||
{warnings.length && <Warning style={{ fontSize: 20 }} />}{' '}
|
||||
{errors.length !== 0 && (
|
||||
<ErrorOutline color="error" style={{ fontSize: 20 }} />
|
||||
)}
|
||||
{warnings.length !== 0 && (
|
||||
<Warning style={{ fontSize: 20, color: 'green' }} />
|
||||
)}{' '}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user