theenglishway (time) 4 лет назад
Родитель
Сommit
2ce74ca05e
2 измененных файлов с 0 добавлено и 5 удалено
  1. 0 4
      lib/vaccins_web/live/index.ex
  2. 0 1
      lib/vaccins_web/live/index_live.html.leex

+ 0 - 4
lib/vaccins_web/live/index.ex

@@ -49,10 +49,6 @@ defmodule VaccinsWeb.IndexLive do
     {:noreply, socket |> assign(locations: LocationStore.get_locations())}
   end
 
-  def handle_event("trigger_all", _, socket) do
-    {:noreply, socket}
-  end
-
   def handle_event("toggle_form", _, socket = %{assigns: %{display_cs: display}}),
     do: {:noreply, socket |> assign(display_cs: not display)}
 

+ 0 - 1
lib/vaccins_web/live/index_live.html.leex

@@ -29,7 +29,6 @@
   <button phx-click="trigger_noob_mode">Aide</button>
 <% end %>
 
-<button phx-click="trigger_all">Tout rafraîchir</button>
 <%= if @is_local? do %><button phx-click="reload_file">Recharger le fichier</button>
 <button phx-click="toggle_form">Montrer le formulaire (ou pas)</button><% end %>