Commit 1ff1b8e9 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'djadmin-hot-fix-dast-scan-profiles' into 'master'

Handle edge case for scanner profile timeout fields

See merge request gitlab-org/gitlab!59209
parents 4474e287 9dbf56e4
......@@ -468,11 +468,11 @@ export default {
<div class="row">
<profile-selector-summary-cell
:label="s__('DastProfiles|Spider timeout')"
:value="n__('%d minute', '%d minutes', selectedScannerProfile.spiderTimeout)"
:value="n__('%d minute', '%d minutes', selectedScannerProfile.spiderTimeout || 0)"
/>
<profile-selector-summary-cell
:label="s__('DastProfiles|Target timeout')"
:value="n__('%d second', '%d seconds', selectedScannerProfile.targetTimeout)"
:value="n__('%d second', '%d seconds', selectedScannerProfile.targetTimeout || 0)"
/>
</div>
<div class="row">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment