diff --git a/front/components/sparkle/AppLayout.tsx b/front/components/sparkle/AppLayout.tsx
index 42290589589ef..7023fef0de2e3 100644
--- a/front/components/sparkle/AppLayout.tsx
+++ b/front/components/sparkle/AppLayout.tsx
@@ -79,7 +79,7 @@ function NavigationBar({
- {user ? (
+ {user && user.workspaces.length > 1 ? (
Workspace:
diff --git a/front/package-lock.json b/front/package-lock.json
index f2417c965dd27..cde45205895e4 100644
--- a/front/package-lock.json
+++ b/front/package-lock.json
@@ -5,7 +5,7 @@
"packages": {
"": {
"dependencies": {
- "@dust-tt/sparkle": "0.1.41",
+ "@dust-tt/sparkle": "0.1.42",
"@headlessui/react": "^1.7.7",
"@heroicons/react": "^2.0.11",
"@nangohq/frontend": "^0.16.1",
@@ -714,9 +714,9 @@
"license": "Apache-2.0"
},
"node_modules/@dust-tt/sparkle": {
- "version": "0.1.41",
- "resolved": "https://registry.npmjs.org/@dust-tt/sparkle/-/sparkle-0.1.41.tgz",
- "integrity": "sha512-lJ5YfVMLwwhm+lTKO8NtPaYGUzaKhZi6QGE+72PXfGifMzyc5FyxGHBfGJ/VVkNCZDNhNnRV+tyBD7jdL1aFXw==",
+ "version": "0.1.42",
+ "resolved": "https://registry.npmjs.org/@dust-tt/sparkle/-/sparkle-0.1.42.tgz",
+ "integrity": "sha512-PLc52olPH7Va/tGt8ugjj9cV6uhgpYkRSDCN54+wQ7HDiThVarNv60vZw/wbamNGd1j0EanrrM0o2YjUJ1Am4w==",
"dependencies": {
"@headlessui/react": "^1.7.17"
},
diff --git a/front/package.json b/front/package.json
index a5a25428dc200..ea7cbe8a42017 100644
--- a/front/package.json
+++ b/front/package.json
@@ -13,7 +13,7 @@
"initdb": "env $(cat .env.local) npx tsx admin/db.ts"
},
"dependencies": {
- "@dust-tt/sparkle": "0.1.41",
+ "@dust-tt/sparkle": "0.1.42",
"@headlessui/react": "^1.7.7",
"@heroicons/react": "^2.0.11",
"@nangohq/frontend": "^0.16.1",