mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Fix compilation warnings that are not fixed in merged PRs
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user