diff --git a/web/satellite/src/components/navigation/ProjectSelection.vue b/web/satellite/src/components/navigation/ProjectSelection.vue
index ff0b14289..a7a2f78d0 100644
--- a/web/satellite/src/components/navigation/ProjectSelection.vue
+++ b/web/satellite/src/components/navigation/ProjectSelection.vue
@@ -42,17 +42,21 @@
{{ project.name }}
+
-
+
-
Create new
+
Create new project
@@ -76,6 +80,7 @@ import { useAppStore } from '@/store/modules/appStore';
import { useAccessGrantsStore } from '@/store/modules/accessGrantsStore';
import { useBucketsStore } from '@/store/modules/bucketsStore';
import { useProjectsStore } from '@/store/modules/projectsStore';
+import { useConfigStore } from '@/store/modules/configStore';
import VLoader from '@/components/common/VLoader.vue';
@@ -93,6 +98,7 @@ const pmStore = useProjectMembersStore();
const billingStore = useBillingStore();
const userStore = useUsersStore();
const projectsStore = useProjectsStore();
+const configStore = useConfigStore();
const notify = useNotify();
const nativeRouter = useRouter();
const router = reactive(nativeRouter);
@@ -119,6 +125,13 @@ const isOnboardingTour = computed((): boolean => {
return router.currentRoute.path.includes(RouteConfig.OnboardingTour.path);
});
+/**
+ * Indicates if all projects dashboard is enabled.
+ */
+const isAllProjectsDashboard = computed((): boolean => {
+ return configStore.state.config.allProjectsDashboard;
+});
+
/**
* Indicates if dropdown is shown.
*/
@@ -266,6 +279,15 @@ function onProjectsLinkClick(): void {
closeDropdown();
}
+/**
+ * Route to all projects page.
+ */
+function onAllProjectsClick(): void {
+ analytics.pageVisit(RouteConfig.AllProjectsDashboard.path);
+ router.push(RouteConfig.AllProjectsDashboard.path);
+ closeDropdown();
+}
+
/**
* Toggles manage passphrase modal shown.
*/