diff --git a/customer-spa/src/layouts/BaseLayout.tsx b/customer-spa/src/layouts/BaseLayout.tsx index 58958f7..39dd037 100644 --- a/customer-spa/src/layouts/BaseLayout.tsx +++ b/customer-spa/src/layouts/BaseLayout.tsx @@ -135,7 +135,7 @@ function ClassicLayout({ children }: BaseLayoutProps) { ))} {/* Wishlist */} - {headerSettings.elements.wishlist && isEnabled('wishlist') && (wishlistSettings.show_in_header ?? true) && user?.isLoggedIn && ( + {headerSettings.elements.wishlist && isEnabled('wishlist') && (wishlistSettings.show_in_header ?? true) && ( Wishlist diff --git a/includes/Compat/NavigationRegistry.php b/includes/Compat/NavigationRegistry.php index 43682d7..9525eda 100644 --- a/includes/Compat/NavigationRegistry.php +++ b/includes/Compat/NavigationRegistry.php @@ -109,10 +109,10 @@ class NavigationRegistry { [ 'key' => 'dashboard', 'label' => __('Dashboard', 'woonoow'), - 'path' => '/', + 'path' => '/dashboard', 'icon' => 'layout-dashboard', 'children' => [ - ['label' => __('Overview', 'woonoow'), 'mode' => 'spa', 'path' => '/', 'exact' => true], + ['label' => __('Overview', 'woonoow'), 'mode' => 'spa', 'path' => '/dashboard', 'exact' => true], ['label' => __('Revenue', 'woonoow'), 'mode' => 'spa', 'path' => '/dashboard/revenue'], ['label' => __('Orders', 'woonoow'), 'mode' => 'spa', 'path' => '/dashboard/orders'], ['label' => __('Products', 'woonoow'), 'mode' => 'spa', 'path' => '/dashboard/products'],