Skip to content

Commit

Permalink
fix(app): ensure protocol doesn't have stale status before analysis c…
Browse files Browse the repository at this point in the history
…ompletion

fix RQA-2297
  • Loading branch information
smb2268 committed Feb 8, 2024
1 parent 17963c0 commit e52b34c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/organisms/ProtocolsLanding/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function getAnalysisStatus(
): AnalysisStatus {
if (isAnalyzing) {
return 'loading'
} else if (analysis?.liquids == null) {
} else if (analysis != null && analysis?.liquids == null) {
return 'stale'
} else if (analysis != null) {
return analysis.errors.length > 0 ? 'error' : 'complete'
Expand Down

0 comments on commit e52b34c

Please sign in to comment.