|
|
@ -43,7 +43,7 @@ |
|
|
|
if current_user.nil? |
|
|
|
if current_user.nil? |
|
|
|
component.navigation_item(text: 'Sign in', href: user_session_path) |
|
|
|
component.navigation_item(text: 'Sign in', href: user_session_path) |
|
|
|
elsif |
|
|
|
elsif |
|
|
|
component.navigation_item(text: 'Your logs', href: case_logs_path) |
|
|
|
component.navigation_item(text: 'Logs', href: case_logs_path) |
|
|
|
component.navigation_item(text: 'Your organisation', href: "/organisations/#{current_user.organisation.id}") |
|
|
|
component.navigation_item(text: 'Your organisation', href: "/organisations/#{current_user.organisation.id}") |
|
|
|
component.navigation_item(text: 'Your account', href: user_path(current_user)) |
|
|
|
component.navigation_item(text: 'Your account', href: user_path(current_user)) |
|
|
|
component.navigation_item(text: 'Sign out', href: destroy_user_session_path, options: { data: {turbo_method: :delete}, method: :delete }) |
|
|
|
component.navigation_item(text: 'Sign out', href: destroy_user_session_path, options: { data: {turbo_method: :delete}, method: :delete }) |
|
|
|