Compare commits
2 Commits
6f8ec078d1
...
072d330202
Author | SHA1 | Date | |
---|---|---|---|
072d330202 | |||
0a6e1cea06 |
@ -424,7 +424,7 @@ export function Sidebar() {
|
|||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Склад ВБ - для селлеров */}
|
{/* Склад - для селлеров */}
|
||||||
{user?.organization?.type === "SELLER" && (
|
{user?.organization?.type === "SELLER" && (
|
||||||
<Button
|
<Button
|
||||||
variant={isWBWarehouseActive ? "secondary" : "ghost"}
|
variant={isWBWarehouseActive ? "secondary" : "ghost"}
|
||||||
@ -436,10 +436,10 @@ export function Sidebar() {
|
|||||||
: "text-white/80 hover:bg-white/10 hover:text-white"
|
: "text-white/80 hover:bg-white/10 hover:text-white"
|
||||||
} cursor-pointer`}
|
} cursor-pointer`}
|
||||||
onClick={handleWBWarehouseClick}
|
onClick={handleWBWarehouseClick}
|
||||||
title={isCollapsed ? "Склад ВБ" : ""}
|
title={isCollapsed ? "Склад" : ""}
|
||||||
>
|
>
|
||||||
<Warehouse className="h-4 w-4 flex-shrink-0" />
|
<Warehouse className="h-4 w-4 flex-shrink-0" />
|
||||||
{!isCollapsed && <span className="ml-3">Склад ВБ</span>}
|
{!isCollapsed && <span className="ml-3">Склад</span>}
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user