Fix compilation warnings that are not fixed in merged PRs

This commit is contained in:
Andrew Dryga
2023-06-27 15:38:29 -06:00
parent b50f6559d3
commit 138c70a73d
3 changed files with 4 additions and 4 deletions

View File

@@ -132,7 +132,7 @@
<ul class="space-y-2">
<li>
<.link
navigate={~p"/"}
navigate={~p"/#{@subject.account}/dashboard"}
class="flex items-center p-2 text-base font-medium text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group"
>
<.icon

View File

@@ -175,7 +175,7 @@ defmodule Web.Auth.ProvidersLive do
socket =
socket
|> put_flash(:error, "This account is disabled.")
|> redirect(to: ~p"/")
|> redirect(to: ~p"/#{account_id}/")
{:ok, socket}
@@ -183,7 +183,7 @@ defmodule Web.Auth.ProvidersLive do
socket =
socket
|> put_flash(:error, "Account not found.")
|> redirect(to: ~p"/")
|> redirect(to: ~p"/#{account_id}/")
{:ok, socket}
end

View File

@@ -7,7 +7,7 @@ defmodule Web.DashboardLive do
<div class="col-span-full mb-4 xl:mb-2">
<!-- Breadcrumbs -->
<.breadcrumbs entries={[
%{label: "Home", path: ~p"/"}
%{label: "Home", path: ~p"/#{@subject.account}"}
]} />
<h1 class="text-xl font-semibold text-gray-900 sm:text-2xl dark:text-white">Dashboard</h1>
</div>