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
Léo-Paul Géneau
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
Hide 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
>
import
icon
from
'
~/vue_shared/components/icon.vue
'
;
export
default
{
props
:
{
isGroupOpen
:
{
...
...
@@ -7,9 +9,12 @@ export default {
default
:
false
,
},
},
components
:
{
icon
,
},
computed
:
{
iconClass
()
{
return
this
.
isGroupOpen
?
'
fa-caret-down
'
:
'
fa-caret
-right
'
;
return
this
.
isGroupOpen
?
'
angle-down
'
:
'
angle
-right
'
;
},
},
};
...
...
@@ -17,9 +22,9 @@ export default {
<
template
>
<span
class=
"folder-caret"
>
<i
:
class=
"iconClass
"
class=
"fa
"
aria-hidden=
"true"
/>
<i
con
:
size=
"12
"
:name=
"iconClass
"
/>
</span>
</
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