Fix haml-lint nit

This commit is contained in:
Andreas Nedbal 2022-01-02 01:22:05 +01:00 committed by Andreas Nedbal
parent dabc917ab5
commit bc316757c3
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@
= list_group_item t('views.general.timeline'), root_path = list_group_item t('views.general.timeline'), root_path
- if APP_CONFIG.dig(:features, :public, :enabled) - if APP_CONFIG.dig(:features, :public, :enabled)
= list_group_item t('views.general.public'), public_timeline_path = list_group_item t('views.general.public'), public_timeline_path
%a.list-group-item.list-group-item-action.dropdown.dropdown-toggle{ class: list ? 'active' : '', type: :button, data: { toggle: :dropdown }, aria: { haspopup: true, expanded: false } } %a.list-group-item.list-group-item-action.dropdown.dropdown-toggle{ class: list ? 'active' : '',
type: :button, data: { toggle: :dropdown }, aria: { haspopup: true, expanded: false } }
- if list - if list
= list.display_name = list.display_name
- else - else