summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/issue_show/components/app.vue
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-11 07:53:54 +0000
committerPhil Hughes <me@iamphill.com>2017-09-11 07:53:54 +0000
commit251a84733cf401e163e18404b046d336a56c28b2 (patch)
treec908f8acf59edaf01c520baa6f35e46b892e3beb /app/assets/javascripts/issue_show/components/app.vue
parenta0751228c0c43ff840ce8a7b3c6d0ab5f03db6cc (diff)
parentce884ad308e9dfb3a86f83eb570393d5a6815a4b (diff)
downloadgitlab-ce-251a84733cf401e163e18404b046d336a56c28b2.tar.gz
Merge branch '37454-remove-confidential-cb-edit-issue' into 'master'
Remove confidential toggle checkbox while editing issue inline Closes #37454 See merge request !14142
Diffstat (limited to 'app/assets/javascripts/issue_show/components/app.vue')
-rw-r--r--app/assets/javascripts/issue_show/components/app.vue7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/assets/javascripts/issue_show/components/app.vue b/app/assets/javascripts/issue_show/components/app.vue
index e115ee40219..06f6ec241f4 100644
--- a/app/assets/javascripts/issue_show/components/app.vue
+++ b/app/assets/javascripts/issue_show/components/app.vue
@@ -72,10 +72,6 @@ export default {
required: false,
default: () => [],
},
- isConfidential: {
- type: Boolean,
- required: true,
- },
markdownPreviewPath: {
type: String,
required: true,
@@ -131,7 +127,6 @@ export default {
this.showForm = true;
this.store.setFormState({
title: this.state.titleText,
- confidential: this.isConfidential,
description: this.state.descriptionText,
lockedWarningVisible: false,
updateLoading: false,
@@ -147,8 +142,6 @@ export default {
.then((data) => {
if (location.pathname !== data.web_url) {
gl.utils.visitUrl(data.web_url);
- } else if (data.confidential !== this.isConfidential) {
- gl.utils.visitUrl(location.pathname);
}
return this.service.getData();