refactor: replace cond with if in handle_delete_role functions

This commit is contained in:
Moritz 2026-01-08 13:54:43 +01:00
parent 75ab046be4
commit 37a2fc3e83
Signed by: moritz
GPG key ID: 1020A035E5DD0824
6 changed files with 31 additions and 33 deletions

View file

@ -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")