Skip to content

Commit

Permalink
delete cache interface first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
the-last-pastafarian committed Dec 7, 2023
1 parent 1b6749c commit b14e19b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/lib/field_hub_web/live/project_show_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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))}
Expand Down
1 change: 1 addition & 0 deletions server/lib/field_hub_web/live/project_show_live.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
<pre>
<%=
"Project: " <> @project
@cache
%>
</pre>
Expand Down

0 comments on commit b14e19b

Please sign in to comment.