fix: part of refactoring

This commit is contained in:
hugo committed 2026-06-25 15:42:42 +02:00
1 parent e3e94ac2d9
commit 52809b39b1
2 files changed
+2 -2

No files matched your search

+1 -1
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
+1 -1
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