diff --git a/src/frontend/components/instance_follow_button.rs b/src/frontend/components/instance_follow_button.rs index ea2b00c..6d56cea 100644 --- a/src/frontend/components/instance_follow_button.rs +++ b/src/frontend/components/instance_follow_button.rs @@ -29,12 +29,16 @@ pub fn InstanceFollowButton(instance: DbInstance) -> impl IntoView { "Follow instance" }; + let class_ = if instance.local { + "hidden" + } else { + "btn btn-sm" + }; view! {