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
5d53332b
Commit
5d53332b
authored
Jul 07, 2021
by
Vitaly Slobodin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change plans prop to plan
parent
2e701ed7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
ee/app/assets/javascripts/subscriptions/buy_minutes/components/app.vue
.../javascripts/subscriptions/buy_minutes/components/app.vue
+2
-3
ee/app/assets/javascripts/subscriptions/buy_minutes/components/checkout.vue
...scripts/subscriptions/buy_minutes/components/checkout.vue
+3
-3
No files found.
ee/app/assets/javascripts/subscriptions/buy_minutes/components/app.vue
View file @
5d53332b
...
...
@@ -23,7 +23,6 @@ export default {
emptySvg
,
data
()
{
return
{
plans
:
null
,
hasError
:
false
,
};
},
...
...
@@ -59,10 +58,10 @@ export default {
/>
<step-order-app
v-else-if=
"!$apollo.loading"
>
<template
#checkout
>
<checkout
:plan
s=
"plans
"
/>
<checkout
:plan
=
"plans[0]
"
/>
</
template
>
<
template
#order-summary
>
<order-summary
:plan
s=
"plans
"
/>
<order-summary
:plan
=
"plans[0]
"
/>
</
template
>
</step-order-app>
</template>
ee/app/assets/javascripts/subscriptions/buy_minutes/components/checkout.vue
View file @
5d53332b
...
...
@@ -8,8 +8,8 @@ import PaymentMethod from './checkout/payment_method.vue';
export
default
{
components
:
{
AddonPurchaseDetails
,
BillingAddress
,
PaymentMethod
,
ConfirmOrder
},
props
:
{
plan
s
:
{
type
:
Array
,
plan
:
{
type
:
Object
,
required
:
true
,
},
},
...
...
@@ -22,7 +22,7 @@ export default {
<div
class=
"checkout gl-display-flex gl-flex-direction-column gl-align-items-center"
>
<div
class=
"flash-container"
></div>
<h2
class=
"gl-mt-6 gl-mb-7 gl-mb-lg-5"
>
{{
$options
.
i18n
.
checkout
}}
</h2>
<addon-purchase-details
:plan
s=
"plans
"
/>
<addon-purchase-details
:plan
=
"plan
"
/>
<billing-address
/>
<payment-method
/>
<confirm-order
/>
...
...
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