fix: part of refactoring

This commit is contained in:
2026-06-25 15:42:42 +02:00
parent e3e94ac2d9
commit 52809b39b1
2 changed files with 2 additions and 2 deletions

View File

@@ -123,4 +123,4 @@ defmodule BDS.Desktop.ShellLive.GitHandler do
end end
defp current_project_id(socket), do: (socket.assigns[:projects] || %{})[:active_project_id] defp current_project_id(socket), do: (socket.assigns[:projects] || %{})[:active_project_id]
end end

View File

@@ -120,4 +120,4 @@ defmodule BDS.Desktop.ShellLive.SocketState do
defp current_tab(%{tabs: tabs, active_tab: {type, id}}) do defp current_tab(%{tabs: tabs, active_tab: {type, id}}) do
Enum.find(tabs, &(&1.type == type and &1.id == id)) Enum.find(tabs, &(&1.type == type and &1.id == id))
end end
end end