Skip to content

Commit

Permalink
Fix to use new components path(without v2)
Browse files Browse the repository at this point in the history
  • Loading branch information
samrat committed Jan 20, 2025
1 parent 86d61c2 commit c3c85c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/views/apps/_all_builds_search_results.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<div class="text-sm text-slate-400">† All timestamps shown are in the timezone configured for the app.</div>
</footer>
<% else %>
<%= render V2::EmptyStateComponent.new(
<%= render EmptyStateComponent.new(
title: "No builds found",
text: "Try a different search term or filter, or create a new release to generate builds.",
banner_image: "v2/drill.svg",
banner_image: "drill.svg",
type: :subdued) %>
<% end %>
4 changes: 2 additions & 2 deletions app/views/apps/_all_releases_search_results.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<div class="text-sm text-slate-400">† All timestamps shown are in the timezone configured for the app.</div>
</footer>
<% else %>
<%= render V2::EmptyStateComponent.new(
<%= render EmptyStateComponent.new(
title: "No releases found",
text: "Try a different search term or filter.",
banner_image: "v2/drill.svg",
banner_image: "drill.svg",
type: :subdued) %>
<% end %>
4 changes: 2 additions & 2 deletions app/views/apps/search.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<%= render V2::ContainerComponent.new(title: "All Releases") do |container| %>
<%= render ContainerComponent.new(title: "All Releases") do |container| %>
<% container.with_back_button %>
<% container.with_body do %>
<%= render V2::SectionComponent.new(style: :titled, title: "Search by commit/PR") do %>
<%= render SectionComponent.new(style: :titled, title: "Search by commit/PR") do %>
<div class="col-span-1">
<%= render SearchBarComponent.new(
path: search_app_url(@app, *@all_releases_params),
Expand Down

0 comments on commit c3c85c0

Please # to comment.