@orsetra/shared-ui 1.1.35 → 1.1.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -295,16 +295,16 @@ function Sidebar({ currentMenu, onMainMenuToggle, sidebarMenus = {}, main_base_u
295
295
  {orgLoading ? (
296
296
  <div className="h-14 w-14 bg-ui-background animate-pulse flex-shrink-0" />
297
297
  ) : orgData?.logo ? (
298
- <img src={orgData.logo} alt={orgData.nom} className="h-14 w-14 object-cover flex-shrink-0" />
298
+ <img src={orgData.logo} alt={orgData.name } className="h-14 w-14 object-cover flex-shrink-0" />
299
299
  ) : (
300
300
  <div className="h-14 w-14 bg-interactive flex items-center justify-center text-white text-2xl font-bold flex-shrink-0">
301
- {orgData?.nom?.charAt(0)?.toUpperCase() ?? 'O'}
301
+ {orgData?.name?.charAt(0)?.toUpperCase() ?? 'O'}
302
302
  </div>
303
303
  )}
304
304
  <div className="flex flex-col min-w-0 flex-1">
305
305
  <span className="text-xs text-text-secondary uppercase tracking-wide mb-1">Organisation</span>
306
306
  <span className="text-base font-semibold text-text-primary truncate">
307
- {orgLoading ? '…' : (orgData?.nom ?? 'Organisation')}
307
+ {orgLoading ? '…' : (orgData?.name ?? 'Organisation')}
308
308
  </span>
309
309
  </div>
310
310
  <ChevronRight className="h-4 w-4 text-text-secondary flex-shrink-0 opacity-40" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orsetra/shared-ui",
3
- "version": "1.1.35",
3
+ "version": "1.1.36",
4
4
  "description": "Shared UI components for Orsetra platform",
5
5
  "main": "./index.ts",
6
6
  "types": "./index.ts",