Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
player
Commits
afd3f309
Commit
afd3f309
authored
Apr 08, 2022
by
David Trattnig
Browse files
Add optional category subtitle to chips
parent
9c1cd369
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/elements/ShowChips.svelte
View file @
afd3f309
...
...
@@ -14,6 +14,8 @@
let catChip = []
catChip.id = category.id
catChip.name = category.name.trim()
if (category.subtitle && category.subtitle.trim())
catChip.name += " | " + category.subtitle
catChip.type = 'category'
chips.push(catChip)
...
...
Write
Preview
Supports
Markdown
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