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
b55ad844
Commit
b55ad844
authored
Aug 02, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ci skip] Remove all global data
parent
20f2987a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
app/assets/javascripts/notes/components/issue_comment_form.vue
...ssets/javascripts/notes/components/issue_comment_form.vue
+2
-2
app/views/projects/issues/_discussion.html.haml
app/views/projects/issues/_discussion.html.haml
+0
-4
No files found.
app/assets/javascripts/notes/components/issue_comment_form.vue
View file @
b55ad844
...
...
@@ -34,6 +34,7 @@
...
mapGetters
([
'
getCurrentUserLastNote
'
,
'
getUserData
'
,
'
getIssueData
'
,
]),
isLoggedIn
()
{
return
this
.
getUserData
===
null
?
false
:
true
;
...
...
@@ -78,7 +79,7 @@
full_data
:
true
,
note
:
{
noteable_type
:
'
Issue
'
,
noteable_id
:
window
.
gl
.
i
ssueData
.
id
,
noteable_id
:
this
.
getI
ssueData
.
id
,
note
:
this
.
note
,
},
},
...
...
@@ -116,7 +117,6 @@
this
.
issueState
=
constants
.
REOPENED
;
}
gl
.
issueData
.
state
=
this
.
issueState
;
this
.
isIssueOpen
=
!
this
.
isIssueOpen
;
// This is out of scope for the Notes Vue component.
...
...
app/views/projects/issues/_discussion.html.haml
View file @
b55ad844
...
...
@@ -18,7 +18,3 @@
=
webpack_bundle_tag
'notes'
=
render
"layouts/init_auto_complete"
:javascript
window
.
gl
.
issueData
=
#{
serialize_issuable
(
@issue
)
}
;
window
.
gl
.
currentUserData
=
#{
UserSerializer
.
new
.
represent
(
current_user
).
to_json
}
;
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