Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-24 21:17:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-24 21:17:30 +0300
commit0bf82aa5cb3b1ed826dd5c0d46331e17aa60d9e9 (patch)
treeee5a760877cce0189cc8e765a912a06942f3e4de /app/assets/javascripts/analytics
parentefbf661c4224d481c57d0346e26983a805e5ec93 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/analytics')
-rw-r--r--app/assets/javascripts/analytics/cycle_analytics/components/base.vue13
-rw-r--r--app/assets/javascripts/analytics/cycle_analytics/components/stage_table.vue4
-rw-r--r--app/assets/javascripts/analytics/cycle_analytics/components/total_time.vue4
3 files changed, 5 insertions, 16 deletions
diff --git a/app/assets/javascripts/analytics/cycle_analytics/components/base.vue b/app/assets/javascripts/analytics/cycle_analytics/components/base.vue
index 365cbeaf6a2..cc97a77e925 100644
--- a/app/assets/javascripts/analytics/cycle_analytics/components/base.vue
+++ b/app/assets/javascripts/analytics/cycle_analytics/components/base.vue
@@ -91,11 +91,7 @@ export default {
},
selectedStageCount() {
if (this.selectedStage) {
- const {
- stageCounts,
- selectedStage: { id },
- } = this;
- return stageCounts[id];
+ return this.stageCounts[this.selectedStage.id];
}
return 0;
},
@@ -113,12 +109,9 @@ export default {
);
},
dashboardsPath() {
- const {
- namespace: { fullPath },
- groupPath,
- } = this;
+ const { fullPath } = this.namespace;
return this.showLinkToDashboard
- ? generateValueStreamsDashboardLink(groupPath, [fullPath])
+ ? generateValueStreamsDashboardLink(this.groupPath, [fullPath])
: null;
},
query() {
diff --git a/app/assets/javascripts/analytics/cycle_analytics/components/stage_table.vue b/app/assets/javascripts/analytics/cycle_analytics/components/stage_table.vue
index 78ac29426d9..6842373fb61 100644
--- a/app/assets/javascripts/analytics/cycle_analytics/components/stage_table.vue
+++ b/app/assets/javascripts/analytics/cycle_analytics/components/stage_table.vue
@@ -102,9 +102,7 @@ export default {
},
data() {
if (this.pagination) {
- const {
- pagination: { sort, direction },
- } = this;
+ const { sort, direction } = this.pagination;
return {
sort,
direction,
diff --git a/app/assets/javascripts/analytics/cycle_analytics/components/total_time.vue b/app/assets/javascripts/analytics/cycle_analytics/components/total_time.vue
index 725952c3518..662c5c64bba 100644
--- a/app/assets/javascripts/analytics/cycle_analytics/components/total_time.vue
+++ b/app/assets/javascripts/analytics/cycle_analytics/components/total_time.vue
@@ -14,9 +14,7 @@ export default {
return Object.keys(this.time).length;
},
calculatedTime() {
- const {
- time: { days = null, mins = null, hours = null, seconds = null },
- } = this;
+ const { days = null, mins = null, hours = null, seconds = null } = this.time;
if (days) {
return {