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-03-09 20:30:09 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-03-09 20:30:09 +0300
commit858d175c1527d650ea5d83e201777d0cf8ae84c9 (patch)
tree147344d5699ea84eda6f980867e4d2045e0f22b9 /app/assets
parentf6262510e6642bb91d112f1bf2ea70db8b7b772c (diff)
Add latest changes from gitlab-org/gitlab@15-9-stable-ee
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/issues/show/components/description.vue15
1 files changed, 3 insertions, 12 deletions
diff --git a/app/assets/javascripts/issues/show/components/description.vue b/app/assets/javascripts/issues/show/components/description.vue
index 188a6f6b15e..bca895bf764 100644
--- a/app/assets/javascripts/issues/show/components/description.vue
+++ b/app/assets/javascripts/issues/show/components/description.vue
@@ -143,7 +143,7 @@ export default {
};
},
skip() {
- return !this.workItemId || !this.workItemsMvcEnabled;
+ return !this.workItemId;
},
},
workItemTypes: {
@@ -156,15 +156,9 @@ export default {
update(data) {
return data.workspace?.workItemTypes?.nodes;
},
- skip() {
- return !this.workItemsMvcEnabled;
- },
},
},
computed: {
- workItemsMvcEnabled() {
- return this.glFeatures.workItemsMvc;
- },
taskWorkItemType() {
return this.workItemTypes.find((type) => type.name === TASK_TYPE_NAME)?.id;
},
@@ -194,8 +188,7 @@ export default {
this.renderGFM();
this.updateTaskStatusText();
-
- if (this.workItemId && this.workItemsMvcEnabled) {
+ if (this.workItemId) {
const taskLink = this.$el.querySelector(
`.gfm-issue[data-issue="${getIdFromGraphQLId(this.workItemId)}"]`,
);
@@ -228,9 +221,7 @@ export default {
this.renderSortableLists();
- if (this.workItemsMvcEnabled) {
- this.renderTaskListItemActions();
- }
+ this.renderTaskListItemActions();
}
},
renderSortableLists() {