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
ae7bd2c6
Commit
ae7bd2c6
authored
Oct 28, 2021
by
dzubova
Committed by
Peter Hegman
Nov 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ghost button on payment step for subscriptions
Changelog: fixed EE: true
parent
2a3e0ce4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
ee/app/assets/javascripts/vue_shared/purchase_flow/components/step.vue
.../javascripts/vue_shared/purchase_flow/components/step.vue
+7
-1
ee/spec/frontend/vue_shared/purchase_flow/components/step_spec.js
...frontend/vue_shared/purchase_flow/components/step_spec.js
+1
-1
No files found.
ee/app/assets/javascripts/vue_shared/purchase_flow/components/step.vue
View file @
ae7bd2c6
...
@@ -124,7 +124,13 @@ export default {
...
@@ -124,7 +124,13 @@ export default {
:state=
"isValid"
:state=
"isValid"
:class=
"[!isValid && errorMessage ? 'gl-mb-5' : 'gl-mb-0', 'gl-mt-3']"
:class=
"[!isValid && errorMessage ? 'gl-mb-5' : 'gl-mb-0', 'gl-mt-3']"
/>
/>
<gl-button
variant=
"success"
category=
"primary"
:disabled=
"!isValid"
@
click=
"nextStep"
>
<gl-button
v-if=
"nextStepButtonText"
variant=
"success"
category=
"primary"
:disabled=
"!isValid"
@
click=
"nextStep"
>
{{
nextStepButtonText
}}
{{
nextStepButtonText
}}
</gl-button>
</gl-button>
</div>
</div>
...
...
ee/spec/frontend/vue_shared/purchase_flow/components/step_spec.js
View file @
ae7bd2c6
...
@@ -167,7 +167,7 @@ describe('Step', () => {
...
@@ -167,7 +167,7 @@ describe('Step', () => {
apolloProvider
:
mockApollo
,
apolloProvider
:
mockApollo
,
});
});
expect
(
wrapper
.
text
()).
toBe
(
''
);
expect
(
wrapper
.
findComponent
(
GlButton
).
exists
()).
toBe
(
false
);
});
});
it
(
'
is disabled when this step is not valid
'
,
()
=>
{
it
(
'
is disabled when this step is not valid
'
,
()
=>
{
...
...
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