Skip to content

Commit

Permalink
Changed the name in order to it be more intuitive.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseBambora committed Jul 26, 2022
1 parent c448e7c commit ed492b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/karaokium_web/live/admin/performance_live/new.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ defmodule KaraokiumWeb.Admin.PerformanceLive.New do
|> assign(:performance, %Performance{})
|> assign(:page_title, "New Performance")
|> assign(:karaoke_id, karaoke_id)
|> assign(:roles, socket.assigns.current_user.permissions)}
|> assign(:permissions, socket.assigns.current_user.permissions)}
end
end
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= if @roles == [] do %>
<%= if @permissions == [] do %>
<.live_component
module={KaraokiumWeb.Admin.PerformanceLive.FormComponent}
id={:new}
Expand Down

0 comments on commit ed492b7

Please sign in to comment.