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
08e85680
Commit
08e85680
authored
Jun 15, 2021
by
Vitaly Slobodin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix OrderSummary component
parent
cb49fb4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
ee/app/assets/javascripts/subscriptions/buy_minutes/components/order_summary.vue
...ts/subscriptions/buy_minutes/components/order_summary.vue
+9
-2
No files found.
ee/app/assets/javascripts/subscriptions/buy_minutes/components/order_summary.vue
View file @
08e85680
...
...
@@ -45,7 +45,7 @@ export default {
},
computed
:
{
selectedPlan
()
{
return
this
.
plans
.
find
((
plan
)
=>
plan
.
code
===
this
.
selectedPlanId
);
return
this
.
plans
.
find
((
plan
)
=>
plan
.
id
===
this
.
selectedPlanId
);
},
selectedPlanPrice
()
{
return
this
.
selectedPlan
.
pricePerYear
;
...
...
@@ -92,6 +92,13 @@ export default {
titleWithName
()
{
return
sprintf
(
this
.
$options
.
i18n
.
title
,
{
name
:
this
.
name
});
},
isVisible
()
{
return
(
!
this
.
$apollo
.
loading
&&
(
!
this
.
isGroupSelected
||
this
.
isSelectedGroupPresent
)
&&
this
.
selectedPlan
);
},
},
methods
:
{
toggleCollapse
()
{
...
...
@@ -106,7 +113,7 @@ export default {
</
script
>
<
template
>
<div
v-if=
"
!$apollo.loading && (!isGroupSelected || isSelectedGroupPresent) && selectedPlan
"
v-if=
"
isVisible
"
class=
"order-summary gl-display-flex gl-flex-direction-column gl-flex-grow-1 gl-mt-2 mt-lg-5"
>
<div
class=
"d-lg-none"
>
...
...
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