fix patch links to working properly
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -154,7 +154,10 @@ defmodule CanneryWeb.RangeLive.Index do | ||||
|           :name -> | ||||
|             {shot_group.ammo_group.ammo_type.name, | ||||
|              ~H""" | ||||
|              <.link patch={Routes.ammo_group_show_path(Endpoint, :show, @shot_group.ammo_group)} class="link"> | ||||
|              <.link | ||||
|                navigate={Routes.ammo_group_show_path(Endpoint, :show, @shot_group.ammo_group)} | ||||
|                class="link" | ||||
|              > | ||||
|                <%= @shot_group.ammo_group.ammo_type.name %> | ||||
|              </.link> | ||||
|              """} | ||||
|   | ||||
| @@ -9,11 +9,11 @@ | ||||
|       <%= display_emoji("😔") %> | ||||
|     </h1> | ||||
|  | ||||
|     <.link patch={Routes.ammo_group_index_path(Endpoint, :index)} class="btn btn-primary"> | ||||
|     <.link navigate={Routes.ammo_group_index_path(Endpoint, :index)} class="btn btn-primary"> | ||||
|       <%= dgettext("actions", "Why not get some ready to shoot?") %> | ||||
|     </.link> | ||||
|   <% else %> | ||||
|     <.link patch={Routes.ammo_group_index_path(Endpoint, :index)} class="btn btn-primary"> | ||||
|     <.link navigate={Routes.ammo_group_index_path(Endpoint, :index)} class="btn btn-primary"> | ||||
|       <%= dgettext("actions", "Stage ammo") %> | ||||
|     </.link> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user