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
Tatuya Kamada
gitlab-ce
Commits
b866d9f0
Commit
b866d9f0
authored
Feb 02, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed eslint errors
parent
619f7ec8
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
8 deletions
+12
-8
app/assets/javascripts/boards/components/modal/filters/label.js.es6
.../javascripts/boards/components/modal/filters/label.js.es6
+2
-1
app/assets/javascripts/boards/components/modal/filters/milestone.js.es6
...ascripts/boards/components/modal/filters/milestone.js.es6
+1
-0
app/assets/javascripts/boards/components/modal/filters/user.js.es6
...s/javascripts/boards/components/modal/filters/user.js.es6
+1
-0
app/assets/javascripts/boards/components/modal/index.js.es6
app/assets/javascripts/boards/components/modal/index.js.es6
+4
-4
app/assets/javascripts/milestone_select.js
app/assets/javascripts/milestone_select.js
+2
-2
app/assets/stylesheets/pages/boards.scss
app/assets/stylesheets/pages/boards.scss
+2
-1
No files found.
app/assets/javascripts/boards/components/modal/filters/label.js.es6
View file @
b866d9f0
/* eslint-disable no-new */
/* global Vue */
/* global LabelSelect */
/* global Label
s
Select */
(() => {
gl.issueBoards.ModalLabelFilter = Vue.extend({
props: {
...
...
app/assets/javascripts/boards/components/modal/filters/milestone.js.es6
View file @
b866d9f0
/* eslint-disable no-new */
/* global Vue */
/* global MilestoneSelect */
(() => {
...
...
app/assets/javascripts/boards/components/modal/filters/user.js.es6
View file @
b866d9f0
/* eslint-disable no-new */
/* global Vue */
/* global UsersSelect */
(() => {
...
...
app/assets/javascripts/boards/components/modal/index.js.es6
View file @
b866d9f0
...
...
@@ -67,22 +67,22 @@
this.loadIssues(true);
},
deep: true,
}
}
,
},
methods: {
searchOperation: _.debounce(function searchOperationDebounce() {
this.loadIssues(true);
}, 500),
loadIssues(clearIssues = false) {
if (!this.showAddIssuesModal) return;
if (!this.showAddIssuesModal) return
false
;
const
d
ata = Object.assign({}, this.filter, {
const
queryD
ata = Object.assign({}, this.filter, {
search: this.searchTerm,
page: this.page,
per: this.perPage,
});
return gl.boardService.getBacklog(
d
ata).then((res) => {
return gl.boardService.getBacklog(
queryD
ata).then((res) => {
const data = res.json();
if (clearIssues) {
...
...
app/assets/javascripts/milestone_select.js
View file @
b866d9f0
...
...
@@ -6,7 +6,7 @@
(
function
()
{
this
.
MilestoneSelect
=
(
function
()
{
function
MilestoneSelect
(
currentProject
,
els
)
{
var
_this
;
var
_this
,
$els
;
if
(
currentProject
!=
null
)
{
_this
=
this
;
this
.
currentProject
=
JSON
.
parse
(
currentProject
);
...
...
@@ -18,7 +18,7 @@
$els
=
$
(
'
.js-label-select
'
);
}
$
(
'
.js-milestone-select
'
)
.
each
(
function
(
i
,
dropdown
)
{
$
els
.
each
(
function
(
i
,
dropdown
)
{
var
$block
,
$dropdown
,
$loading
,
$selectbox
,
$sidebarCollapsedValue
,
$value
,
abilityName
,
collapsedSidebarLabelTemplate
,
defaultLabel
,
issuableId
,
issueUpdateURL
,
milestoneLinkNoneTemplate
,
milestoneLinkTemplate
,
milestonesUrl
,
projectId
,
selectedMilestone
,
showAny
,
showNo
,
showUpcoming
,
useId
,
showMenuAbove
;
$dropdown
=
$
(
dropdown
);
projectId
=
$dropdown
.
data
(
'
project-id
'
);
...
...
app/assets/stylesheets/pages/boards.scss
View file @
b866d9f0
...
...
@@ -392,7 +392,8 @@
&
.add-issues-empty-state-filter
{
-webkit-flex-direction
:
column
;
flex-direction
:
column
;
margin-top
:
50px
;
-webkit-justify-content
:
center
;
justify-content
:
center
;
}
>
.row
{
...
...
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