mirror of
https://github.com/coollabsio/coolify.git
synced 2026-06-19 07:35:25 +00:00
fix(navigation): replace wire:navigate.hover with wire:navigate
Remove hover prefetching variant from SPA navigation helper, both in the happy path and the exception fallback.
This commit is contained in:
@@ -3532,10 +3532,10 @@ function wireNavigate(): string
|
||||
try {
|
||||
$settings = instanceSettings();
|
||||
|
||||
// Return wire:navigate.hover for SPA navigation with prefetching, or empty string if disabled
|
||||
return ($settings->is_wire_navigate_enabled ?? true) ? 'wire:navigate.hover' : '';
|
||||
// Return wire:navigate for SPA navigation with prefetching, or empty string if disabled
|
||||
return ($settings->is_wire_navigate_enabled ?? true) ? 'wire:navigate' : '';
|
||||
} catch (Exception $e) {
|
||||
return 'wire:navigate.hover';
|
||||
return 'wire:navigate';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user