period selection
This commit is contained in:
@@ -21,7 +21,9 @@ export default function DashboardView({
|
||||
latest,
|
||||
state,
|
||||
setState,
|
||||
onModeChange
|
||||
onModeChange,
|
||||
selectedPeriodId,
|
||||
onSelectPeriodId,
|
||||
}: ViewProps) {
|
||||
const theme = useTheme();
|
||||
const themeMode = theme.palette.mode;
|
||||
@@ -143,6 +145,8 @@ export default function DashboardView({
|
||||
onPeriodTypeChange={(p: any) => setState(prev => ({ ...prev, periodType: p }))}
|
||||
comparison={comparison}
|
||||
setComparison={(c: any) => setState(prev => ({ ...prev, comparison: c }))}
|
||||
selectedPeriodId={selectedPeriodId}
|
||||
onSelectPeriodId={onSelectPeriodId}
|
||||
/>
|
||||
)}
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user