Skip to content

Commit

Permalink
[frontend] Fix deepscan issues
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelHassine committed Feb 27, 2024
1 parent 7fb541e commit 97ff2d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const SettingsMessagesLines = ({
loadMore={() => null}
hasMore={() => false}
dataList={datas ?? []}
globalCount={datas.length ?? 1}
globalCount={(datas ?? []).length ?? 1}
nbOfRowsToLoad={50}
LineComponent={SettingsMessagesLine}
DummyLineComponent={SettingsMessagesLineDummy}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ const Login: FunctionComponent<LoginProps> = ({ type, settings }) => {
/>
</div>
)}
{isWhitemarkEnable && loginLogo && loginLogo.length && (
{isWhitemarkEnable && loginLogo && loginLogo.length > 0 && (
<div className={classes.byFiligran} style={{ margin: '5px 0 20px 0' }}>
<img
src={fileUri(theme.palette.mode === 'dark' ? logoFiligranDark : logoFiligranLight)}
Expand Down

0 comments on commit 97ff2d0

Please sign in to comment.