fix: Overview route, add period selector back, prepare product CRUD routes
This commit is contained in:
@@ -64,8 +64,19 @@ export default function DashboardSubmenuBar({ items = [], fullscreen = false }:
|
||||
})}
|
||||
</div>
|
||||
|
||||
{/* Refresh & Dummy Toggle */}
|
||||
{/* Period Selector, Refresh & Dummy Toggle */}
|
||||
<div className="flex items-center gap-2 flex-shrink-0">
|
||||
<Select value={period} disabled>
|
||||
<SelectTrigger className="w-[140px] h-8">
|
||||
<SelectValue />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
<SelectItem value="7">{__('Last 7 days')}</SelectItem>
|
||||
<SelectItem value="14">{__('Last 14 days')}</SelectItem>
|
||||
<SelectItem value="30">{__('Last 30 days')}</SelectItem>
|
||||
<SelectItem value="all">{__('All Time')}</SelectItem>
|
||||
</SelectContent>
|
||||
</Select>
|
||||
{!useDummy && (
|
||||
<Button
|
||||
variant="outline"
|
||||
|
||||
Reference in New Issue
Block a user