X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a57472d28203459b0765e08a4bd004050b97e0ed..288b8e110418a334296275a3edf0a50969d68c75:/app/views/user_blocks/_navigation.html.erb diff --git a/app/views/user_blocks/_navigation.html.erb b/app/views/user_blocks/_navigation.html.erb index 5ca67afe5..63f882f6c 100644 --- a/app/views/user_blocks/_navigation.html.erb +++ b/app/views/user_blocks/_navigation.html.erb @@ -4,4 +4,11 @@ user_blocks_path, :class => ["nav-link", { :active => action_name == "index" }] %> + <% if current_user&.blocks&.exists? %> +