Update UnifiedNotifications.tsx
This commit is contained in:
@@ -307,8 +307,6 @@ export default function UnifiedNotifications() {
|
|||||||
)}
|
)}
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
</TabsList>
|
</TabsList>
|
||||||
</Tabs>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<TabsContent value="all" className="m-0">
|
<TabsContent value="all" className="m-0">
|
||||||
{totalNotifications === 0 ? (
|
{totalNotifications === 0 ? (
|
||||||
@@ -353,11 +351,6 @@ export default function UnifiedNotifications() {
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Divider if both types are present */}
|
|
||||||
{unreadCounts.totalUnread > 0 && newOrders.length > 0 && (
|
|
||||||
<DropdownMenuSeparator />
|
|
||||||
)}
|
|
||||||
|
|
||||||
{/* Orders Section */}
|
{/* Orders Section */}
|
||||||
{newOrders.length > 0 && (
|
{newOrders.length > 0 && (
|
||||||
<>
|
<>
|
||||||
@@ -505,6 +498,8 @@ export default function UnifiedNotifications() {
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
|
</Tabs>
|
||||||
|
</div>
|
||||||
</DropdownMenuContent>
|
</DropdownMenuContent>
|
||||||
</DropdownMenu>
|
</DropdownMenu>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user