bcgov / workbc-wage-subsidy

WorkBC intake form for Wage Subsidy.
Apache License 2.0
1 stars 1 forks source link

TECH-502: Employer client: redirect from empty list loops on first load #105

Closed npham49 closed 11 months ago

npham49 commented 11 months ago

Cause of issue: instead of returning a promise, the useGetList returns undefined on total before changing it to a number. This is satisfying the total !== 0 condition since undefined !== 0 = True. Description of changes:

sonarcloud[bot] commented 11 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
100.0% 100.0% Duplication