diff --git a/web/satellite/src/components/navigation/MobileNavigation.vue b/web/satellite/src/components/navigation/MobileNavigation.vue
index 1404150c2..92679dbe4 100644
--- a/web/satellite/src/components/navigation/MobileNavigation.vue
+++ b/web/satellite/src/components/navigation/MobileNavigation.vue
@@ -47,7 +47,7 @@
{{ project.name }}
-
+
@@ -259,6 +259,13 @@ const isAccountDropdownShown = ref
(false);
const isOpened = ref(false);
const isLoading = ref(false);
+/*
+ * Whether the user is the owner of the selected project.
+ */
+const isProjectOwner = computed((): boolean => {
+ return usersStore.state.user.id === projectsStore.state.selectedProject.ownerId;
+});
+
/**
* Indicates if all projects dashboard should be used.
*/
diff --git a/web/satellite/src/components/navigation/ProjectSelection.vue b/web/satellite/src/components/navigation/ProjectSelection.vue
index 7283742fd..9692d5b9a 100644
--- a/web/satellite/src/components/navigation/ProjectSelection.vue
+++ b/web/satellite/src/components/navigation/ProjectSelection.vue
@@ -42,7 +42,7 @@
{{ project.name }}
-
+
@@ -131,6 +131,13 @@ const isOnboardingTour = computed((): boolean => {
return route.path.includes(RouteConfig.OnboardingTour.path);
});
+/*
+ * Whether the user is the owner of the selected project.
+ */
+const isProjectOwner = computed((): boolean => {
+ return userStore.state.user.id === projectsStore.state.selectedProject.ownerId;
+});
+
/**
* Indicates if all projects dashboard is enabled.
*/