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
a64b52db
Commit
a64b52db
authored
Dec 23, 2019
by
Martin Wortschack
Committed by
Kushal Pandya
Dec 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace breakpoints with GlBreakpointInstance in boards/components/modal/list.vue
parent
5cf0ce43
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/boards/components/modal/list.vue
app/assets/javascripts/boards/components/modal/list.vue
+3
-3
No files found.
app/assets/javascripts/boards/components/modal/list.vue
View file @
a64b52db
<
script
>
<
script
>
import
{
GlBreakpointInstance
as
bp
}
from
'
@gitlab/ui/dist/utils
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
bp
from
'
../../../breakpoints
'
;
import
ModalStore
from
'
../../stores/modal_store
'
;
import
ModalStore
from
'
../../stores/modal_store
'
;
import
IssueCardInner
from
'
../issue_card_inner.vue
'
;
import
IssueCardInner
from
'
../issue_card_inner.vue
'
;
...
@@ -105,9 +105,9 @@ export default {
...
@@ -105,9 +105,9 @@ export default {
setColumnCount
()
{
setColumnCount
()
{
const
breakpoint
=
bp
.
getBreakpointSize
();
const
breakpoint
=
bp
.
getBreakpointSize
();
if
(
breakpoint
===
'
lg
'
||
breakpoint
===
'
md
'
)
{
if
(
breakpoint
===
'
xl
'
||
breakpoint
===
'
lg
'
)
{
this
.
columns
=
3
;
this
.
columns
=
3
;
}
else
if
(
breakpoint
===
'
sm
'
)
{
}
else
if
(
breakpoint
===
'
md
'
)
{
this
.
columns
=
2
;
this
.
columns
=
2
;
}
else
{
}
else
{
this
.
columns
=
1
;
this
.
columns
=
1
;
...
...
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