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
bed16f48
Commit
bed16f48
authored
Dec 28, 2017
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use SVG sprite icons
parent
1d2b8229
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
app/assets/javascripts/groups/components/item_caret.vue
app/assets/javascripts/groups/components/item_caret.vue
+10
-5
No files found.
app/assets/javascripts/groups/components/item_caret.vue
View file @
bed16f48
<
script
>
<
script
>
import
icon
from
'
~/vue_shared/components/icon.vue
'
;
export
default
{
export
default
{
props
:
{
props
:
{
isGroupOpen
:
{
isGroupOpen
:
{
...
@@ -7,9 +9,12 @@ export default {
...
@@ -7,9 +9,12 @@ export default {
default
:
false
,
default
:
false
,
},
},
},
},
components
:
{
icon
,
},
computed
:
{
computed
:
{
iconClass
()
{
iconClass
()
{
return
this
.
isGroupOpen
?
'
fa-caret-down
'
:
'
fa-caret
-right
'
;
return
this
.
isGroupOpen
?
'
angle-down
'
:
'
angle
-right
'
;
},
},
},
},
};
};
...
@@ -17,9 +22,9 @@ export default {
...
@@ -17,9 +22,9 @@ export default {
<
template
>
<
template
>
<span
class=
"folder-caret"
>
<span
class=
"folder-caret"
>
<i
<i
con
:
class=
"iconClass
"
:
size=
"12
"
class=
"fa
"
:name=
"iconClass
"
aria-hidden=
"true"
/>
/>
</span>
</span>
</
template
>
</
template
>
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