From bc316757c3785c51b4316c1e362eaf7032e80d7a Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 2 Jan 2022 01:22:05 +0100 Subject: [PATCH] Fix haml-lint nit --- app/views/tabs/_feed.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/tabs/_feed.haml b/app/views/tabs/_feed.haml index 1735a40c..334bf797 100644 --- a/app/views/tabs/_feed.haml +++ b/app/views/tabs/_feed.haml @@ -3,7 +3,8 @@ = list_group_item t('views.general.timeline'), root_path - if APP_CONFIG.dig(:features, :public, :enabled) = 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 = list.display_name - else