Skip to content

Commit

Permalink
fix: organization not found
Browse files Browse the repository at this point in the history
  • Loading branch information
ruilopesm committed Sep 23, 2024
1 parent 27ed1b2 commit 9ac6a8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/atomic_web/live/activity_live/index.html.heex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<.page title="Activities">
<:actions>
<.button navigate={~p"/organizations/#{organization}/activities/new"}>
<.button navigate={~p"/organizations/#{@organization}/activities/new"}>
<%= gettext("New") %>
</.button>
</:actions>
Expand Down Expand Up @@ -33,7 +33,7 @@
<!-- Activities index -->
<%= if @empty? and @has_permissions? do %>
<div class="mt-32">
<.empty_state url={~p"/organizations/#{organization}/activities/new"} placeholder="activity" />
<.empty_state url={~p"/organizations/#{@organization}/activities/new"} placeholder="activity" />
</div>
<% else %>
<div class="overflow-hidden bg-white">
Expand Down

0 comments on commit 9ac6a8c

Please sign in to comment.