Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Motion Bank
Applications
Systems Frontend
Commits
487fc840
Commit
487fc840
authored
Mar 24, 2020
by
anton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lighter colors
parent
f850be94
Pipeline
#50712
passed with stage
in 2 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/lib/color-helpers.js
src/lib/color-helpers.js
+1
-1
No files found.
src/lib/color-helpers.js
View file @
487fc840
...
...
@@ -6,7 +6,7 @@ const getAnnotationColor = annotation => {
let
type
=
annotation
.
body
.
source
?
annotation
.
body
.
source
.
type
:
undefined
type
=
type
||
annotation
.
body
.
type
type
=
type
&&
type
.
indexOf
(
'
#
'
)
>
-
1
?
type
.
split
(
'
#
'
).
pop
()
:
type
return
toMaterialStyle
(
type
||
'
SpecificResource
'
,
'
6
00
'
)
return
toMaterialStyle
(
type
||
'
SpecificResource
'
,
'
1
00
'
)
}
export
{
...
...
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