Skip to content

Commit

Permalink
Fix scan status of never scanned for org account (#2200)
Browse files Browse the repository at this point in the history
Fix scan status for never scanned for org account
  • Loading branch information
milan-deepfence authored Jun 14, 2024
1 parent 3430d2c commit 42a2b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepfence_frontend/apps/dashboard/src/utils/scan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const isScanFailed = (status: string): boolean => {
};

export const isNeverScanned = (status: string): boolean => {
if (!status?.length) {
if (!status?.length || status.toLowerCase() === 'never_scanned') {
return true;
}
return false;
Expand Down

0 comments on commit 42a2b49

Please sign in to comment.