소스 검색

Remove useless availabilities assign in index

theenglishway (time) 4 년 전
부모
커밋
4ee0707593
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      lib/vaccins_web/live/index.ex

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

@@ -13,7 +13,6 @@ defmodule VaccinsWeb.IndexLive do
      |> assign(
        locations: locations,
        pending: %{},
-       availabilities: locations |> Map.new(&{&1.id, []}),
        location_cs: LocationStore.LocationRaw.changeset(%{}),
        display_cs: false
      )