Cast loading to bool

parent ff24f1de
...@@ -575,7 +575,7 @@ export default { ...@@ -575,7 +575,7 @@ export default {
</gl-button> </gl-button>
<gl-button <gl-button
data-testid="on-demand-scan-cancel-button" data-testid="on-demand-scan-cancel-button"
:disabled="loading" :disabled="Boolean(loading)"
@click="onCancelClicked" @click="onCancelClicked"
> >
{{ __('Cancel') }} {{ __('Cancel') }}
......
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