diff --git a/app/components/timeline_component.html.erb b/app/components/timeline_component.html.erb
index 3c15a6e68..bbd22b2bc 100644
--- a/app/components/timeline_component.html.erb
+++ b/app/components/timeline_component.html.erb
@@ -13,17 +13,19 @@
<% end %>
-
- <%= render V2::ButtonComponent.new(label: "View all events",
- scheme: :link,
- type: :link_external,
- options: view_all_link,
- html_options: { class: "text-xs" },
- authz: false,
- size: :none,
- arrow: :none) do |b|
- b.with_icon("v2/activity.svg", size: :sm)
- end %>
-
+ <% if view_all_link.present? && truncate %>
+
+ <%= render V2::ButtonComponent.new(label: "View all events",
+ scheme: :link,
+ type: :link_external,
+ options: view_all_link,
+ html_options: { class: "text-xs" },
+ authz: false,
+ size: :none,
+ arrow: :none) do |b|
+ b.with_icon("v2/activity.svg", size: :sm)
+ end %>
+
+ <% end %>
<% end %>