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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
57ccfb9a
Commit
57ccfb9a
authored
Jun 14, 2017
by
Fatih Acet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some ESLint errors.
parent
16a5808e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
app/assets/javascripts/notes/components/issue_discussion.vue
app/assets/javascripts/notes/components/issue_discussion.vue
+2
-2
app/assets/javascripts/notes/components/issue_note_edited_text.vue
...s/javascripts/notes/components/issue_note_edited_text.vue
+1
-1
app/assets/javascripts/notes/components/issue_note_header.vue
...assets/javascripts/notes/components/issue_note_header.vue
+1
-1
app/assets/javascripts/notes/components/issue_notes.vue
app/assets/javascripts/notes/components/issue_notes.vue
+1
-1
app/assets/javascripts/notes/stores/issue_notes_store.js
app/assets/javascripts/notes/stores/issue_notes_store.js
+1
-1
No files found.
app/assets/javascripts/notes/components/issue_discussion.vue
View file @
57ccfb9a
...
@@ -16,7 +16,7 @@ export default {
...
@@ -16,7 +16,7 @@ export default {
return
{
return
{
registerLink
:
'
#
'
,
registerLink
:
'
#
'
,
signInLink
:
'
#
'
,
signInLink
:
'
#
'
,
}
}
;
},
},
computed
:
{
computed
:
{
discussion
()
{
discussion
()
{
...
@@ -43,7 +43,7 @@ export default {
...
@@ -43,7 +43,7 @@ export default {
this
.
signInLink
=
signInLink
.
getAttribute
(
'
href
'
);
this
.
signInLink
=
signInLink
.
getAttribute
(
'
href
'
);
}
}
},
},
}
}
;
</
script
>
</
script
>
<
template
>
<
template
>
...
...
app/assets/javascripts/notes/components/issue_note_edited_text.vue
View file @
57ccfb9a
...
@@ -24,7 +24,7 @@ export default {
...
@@ -24,7 +24,7 @@ export default {
components
:
{
components
:
{
TimeAgoTooltip
,
TimeAgoTooltip
,
},
},
}
}
;
</
script
>
</
script
>
<
template
>
<
template
>
...
...
app/assets/javascripts/notes/components/issue_note_header.vue
View file @
57ccfb9a
...
@@ -27,7 +27,7 @@ export default {
...
@@ -27,7 +27,7 @@ export default {
discussionId
:
{
discussionId
:
{
type
:
String
,
type
:
String
,
required
:
false
,
required
:
false
,
}
}
,
},
},
components
:
{
components
:
{
TimeAgoTooltip
,
TimeAgoTooltip
,
...
...
app/assets/javascripts/notes/components/issue_notes.vue
View file @
57ccfb9a
...
@@ -26,7 +26,7 @@ export default {
...
@@ -26,7 +26,7 @@ export default {
},
},
componentData
(
note
)
{
componentData
(
note
)
{
return
note
.
individual_note
?
note
.
notes
[
0
]
:
note
;
return
note
.
individual_note
?
note
.
notes
[
0
]
:
note
;
}
}
,
},
},
mounted
()
{
mounted
()
{
const
path
=
this
.
$el
.
parentNode
.
dataset
.
discussionsPath
;
const
path
=
this
.
$el
.
parentNode
.
dataset
.
discussionsPath
;
...
...
app/assets/javascripts/notes/stores/issue_notes_store.js
View file @
57ccfb9a
...
@@ -18,7 +18,7 @@ const mutations = {
...
@@ -18,7 +18,7 @@ const mutations = {
storeState
.
notes
=
notes
;
storeState
.
notes
=
notes
;
},
},
toggleDiscussion
(
storeState
,
{
discussionId
})
{
toggleDiscussion
(
storeState
,
{
discussionId
})
{
const
[
discussion
]
=
storeState
.
notes
.
filter
((
note
)
=>
note
.
id
===
discussionId
);
const
[
discussion
]
=
storeState
.
notes
.
filter
(
note
=>
note
.
id
===
discussionId
);
discussion
.
expanded
=
!
discussion
.
expanded
;
discussion
.
expanded
=
!
discussion
.
expanded
;
},
},
...
...
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