Skip to content

Commit 362a0c2

Browse files
Fix scroll-to feature on the skills view of a person
1 parent 464c040 commit 362a0c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/people/people_skills/_overview.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
= turbo_frame_tag 'people-skills' do
2121
- Category.all_parents.each do |category|
22-
%div.profile-header.mw-100.border-bottom.mt-4{id: category.title, "data-scroll-target": "scrollItem"}
22+
%div.profile-header.mw-100.border-bottom.mt-4{id: category.title.parameterize, "data-scroll-target": "scrollItem"}
2323
= category.title
2424
- ([category] + category.children.to_a).each do |category_child|
2525
- people_skills_of_category = people_skills_of_category(category_child)

0 commit comments

Comments
 (0)