Fix graph page crash - use @current_organization instead of @organization
Fixed KeyError on graph show page where template was referencing @organization.slug instead of @current_organization.slug
This commit is contained in:
parent
841cf67e8b
commit
f7b3a6a7dc
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
|||
<div class="flex items-center justify-between mb-6">
|
||||
<div class="flex items-center gap-4">
|
||||
<.link
|
||||
navigate={~p"/orgs/#{@organization.slug}/devices/#{@device_id}"}
|
||||
navigate={~p"/orgs/#{@current_organization.slug}/devices/#{@device_id}"}
|
||||
class="text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-zinc-100"
|
||||
>
|
||||
<.icon name="hero-arrow-left" class="h-5 w-5" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue