summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/issue_show/components
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-05-24 12:25:53 +0100
committerPhil Hughes <me@iamphill.com>2017-05-24 12:25:53 +0100
commitb2c2751836703a6dcf3ae92e05bf8b59ba4aa9a3 (patch)
treeba89da3f2c12c94cb5b00fd8d53d5653f20230fc /app/assets/javascripts/issue_show/components
parente78b8223fe0a9239222850f6c0a6d6cb582176c0 (diff)
downloadgitlab-ce-b2c2751836703a6dcf3ae92e05bf8b59ba4aa9a3.tar.gz
Changed all data to come through the JSON script element
[ci skip]
Diffstat (limited to 'app/assets/javascripts/issue_show/components')
-rw-r--r--app/assets/javascripts/issue_show/components/app.vue10
1 files changed, 8 insertions, 2 deletions
diff --git a/app/assets/javascripts/issue_show/components/app.vue b/app/assets/javascripts/issue_show/components/app.vue
index 0bb9acd4f82..90312bade2f 100644
--- a/app/assets/javascripts/issue_show/components/app.vue
+++ b/app/assets/javascripts/issue_show/components/app.vue
@@ -32,7 +32,11 @@ export default {
type: String,
required: true,
},
- initialTitle: {
+ initialTitleHtml: {
+ type: String,
+ required: true,
+ },
+ initialTitleText: {
type: String,
required: true,
},
@@ -78,7 +82,8 @@ export default {
},
data() {
const store = new Store({
- titleHtml: this.initialTitle,
+ titleHtml: this.initialTitleHtml,
+ titleText: this.initialTitleText,
descriptionHtml: this.initialDescriptionHtml,
descriptionText: this.initialDescriptionText,
});
@@ -107,6 +112,7 @@ export default {
title: this.state.titleText,
confidential: this.isConfidential,
description: this.state.descriptionText,
+ lockedWarningVisible: false,
move_to_project_id: 0,
});
}