UX: Hide tags section in sidebar when user has no visible tags (#18539)

Also hides the tags configuration for sidebar under user preferences

Internal ref: /t/73500
This commit is contained in:
Alan Guo Xiang Tan
2022-10-13 08:37:28 +08:00
committed by GitHub
parent 58e4b43fe4
commit deb0656b63
9 changed files with 79 additions and 7 deletions

View File

@ -387,4 +387,6 @@ RSpec.describe CurrentUserSerializer do
expect(serializer.as_json[:associated_account_ids]).to eq({ "twitter" => "1" })
end
end
include_examples "#display_sidebar_tags", described_class
end