Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b2755055
Commit
b2755055
authored
Dec 13, 2021
by
Tom Quirk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add disableResetButton computed prop
parent
974d4270
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
app/assets/javascripts/integrations/edit/components/integration_form.vue
...scripts/integrations/edit/components/integration_form.vue
+5
-2
No files found.
app/assets/javascripts/integrations/edit/components/integration_form.vue
View file @
b2755055
...
...
@@ -78,7 +78,10 @@ export default {
return
this
.
propsSource
.
canTest
;
},
disableSaveButton
()
{
return
Boolean
(
this
.
isDisabled
||
this
.
testingLoading
);
return
Boolean
(
this
.
isResetting
||
this
.
testingLoading
);
},
disableResetButton
()
{
return
Boolean
(
this
.
isSaving
||
this
.
testingLoading
);
},
},
mounted
()
{
...
...
@@ -244,7 +247,7 @@ export default {
category=
"secondary"
variant=
"confirm"
:loading=
"isResetting"
:disabled=
"
isDisabled || testingLoading
"
:disabled=
"
disableResetButton
"
data-testid=
"reset-button"
>
{{
__
(
'
Reset
'
)
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment