MAINT: clean up unused; new deps (#45)
This commit is contained in:
parent
7cbb884ef0
commit
d57fdd0d0f
8 changed files with 24 additions and 120 deletions
|
@ -229,7 +229,7 @@ defmodule PlannerWeb.TasksLive do
|
|||
|> put_flash(:info, msg)
|
||||
end
|
||||
|
||||
defp add_new_task(task_params, active_plan = nil, socket) do
|
||||
defp add_new_task(task_params, _active_plan = nil, socket) do
|
||||
case Tasks.create_task(task_params) do
|
||||
{:ok, task} ->
|
||||
{:noreply, refresh_tasks_and_flash_msg(socket, "task \"#{task.value}\" created")}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue