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
9252df6a
Commit
9252df6a
authored
Nov 04, 2021
by
Payton Burdette
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply reviewer feedback
parent
8abb5284
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ee/app/assets/javascripts/ci_minutes_usage/components/minutes_usage_project_chart.vue
..._minutes_usage/components/minutes_usage_project_chart.vue
+1
-1
ee/spec/frontend/ci_minutes_usage/components/minutes_usage_month_chart_spec.js
...inutes_usage/components/minutes_usage_month_chart_spec.js
+1
-1
ee/spec/frontend/ci_minutes_usage/components/minutes_usage_project_chart_spec.js
...utes_usage/components/minutes_usage_project_chart_spec.js
+1
-1
No files found.
ee/app/assets/javascripts/ci_minutes_usage/components/minutes_usage_project_chart.vue
View file @
9252df6a
...
...
@@ -69,7 +69,7 @@ export default {
return
this
.
minutesUsageData
.
map
((
cur
)
=>
cur
.
month
);
},
isDataEmpty
()
{
return
this
.
minutesUsageData
.
length
===
0
&&
this
.
selectedMonth
.
length
===
0
;
return
this
.
minutesUsageData
.
length
===
0
&&
!
this
.
selectedMonth
;
},
},
watch
:
{
...
...
ee/spec/frontend/ci_minutes_usage/components/minutes_usage_month_chart_spec.js
View file @
9252df6a
...
...
@@ -37,7 +37,7 @@ describe('Minutes usage by month chart component', () => {
expect
(
findAlert
().
exists
()).
toBe
(
false
);
});
it
(
'
renders an alert when no data is ava
li
able
'
,
()
=>
{
it
(
'
renders an alert when no data is ava
il
able
'
,
()
=>
{
createComponent
({
minutesUsageData
:
[]
});
expect
(
findAlert
().
exists
()).
toBe
(
true
);
...
...
ee/spec/frontend/ci_minutes_usage/components/minutes_usage_project_chart_spec.js
View file @
9252df6a
...
...
@@ -55,7 +55,7 @@ describe('Minutes usage by project chart component', () => {
});
describe
(
'
without CI minutes data
'
,
()
=>
{
it
(
'
renders an alert when no data is ava
li
able
'
,
()
=>
{
it
(
'
renders an alert when no data is ava
il
able
'
,
()
=>
{
createComponent
({
minutesUsageData
:
[]
});
expect
(
findAlert
().
exists
()).
toBe
(
true
);
...
...
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