From b14e19bfcd08482ba2e5160fb6522441eb090fe2 Mon Sep 17 00:00:00 2001 From: the-last-pastafarian Date: Thu, 7 Dec 2023 11:19:19 +0100 Subject: [PATCH] delete cache interface first commit --- server/lib/field_hub_web/live/project_show_live.ex | 1 + server/lib/field_hub_web/live/project_show_live.html.heex | 1 + 2 files changed, 2 insertions(+) diff --git a/server/lib/field_hub_web/live/project_show_live.ex b/server/lib/field_hub_web/live/project_show_live.ex index 0dce176275..8e7cfecd34 100644 --- a/server/lib/field_hub_web/live/project_show_live.ex +++ b/server/lib/field_hub_web/live/project_show_live.ex @@ -122,6 +122,7 @@ defmodule FieldHubWeb.ProjectShowLive do new_cache = "Delete or update cache in this handle_event" cache_index = FieldHub.FileStore.file_index(project) + IO.inspect(cache_index) {:noreply, assign(socket, :cache, new_cache)} # {:noreply, assign(socket, :cache, inspect(cache_index))} diff --git a/server/lib/field_hub_web/live/project_show_live.html.heex b/server/lib/field_hub_web/live/project_show_live.html.heex index ee28fd2a1a..a3565d71af 100644 --- a/server/lib/field_hub_web/live/project_show_live.html.heex +++ b/server/lib/field_hub_web/live/project_show_live.html.heex @@ -159,6 +159,7 @@
                  <%=
                  "Project: " <> @project
+                 
                    @cache
                    %>