Commit 9dbf56e4 authored by Dheeraj Joshi's avatar Dheeraj Joshi

Handle edge case for scanner profile timeout fields

parent 39a42292
...@@ -468,11 +468,11 @@ export default { ...@@ -468,11 +468,11 @@ export default {
<div class="row"> <div class="row">
<profile-selector-summary-cell <profile-selector-summary-cell
:label="s__('DastProfiles|Spider timeout')" :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 <profile-selector-summary-cell
:label="s__('DastProfiles|Target timeout')" :label="s__('DastProfiles|Target timeout')"
:value="n__('%d second', '%d seconds', selectedScannerProfile.targetTimeout)" :value="n__('%d second', '%d seconds', selectedScannerProfile.targetTimeout || 0)"
/> />
</div> </div>
<div class="row"> <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