refactor: replace cond with if in handle_delete_role functions
This commit is contained in:
parent
75ab046be4
commit
37a2fc3e83
6 changed files with 31 additions and 33 deletions
|
|
@ -89,7 +89,6 @@ defmodule MvWeb.RoleLive.Form do
|
|||
|
||||
@impl true
|
||||
def mount(params, _session, socket) do
|
||||
|
||||
case params["id"] do
|
||||
nil ->
|
||||
action = gettext("New")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue