cleanup
This commit is contained in:
@@ -11,7 +11,7 @@ import {
|
|||||||
} from "@mui/material";
|
} from "@mui/material";
|
||||||
|
|
||||||
import ConfigurableDashboard from "./components/Dashboard";
|
import ConfigurableDashboard from "./components/Dashboard";
|
||||||
import { DashboardState } from "./components/Dashboard/Dashboard.models";
|
import { DashboardState } from "./components/Dashboard";
|
||||||
import { configuration } from "./dashboard-config";
|
import { configuration } from "./dashboard-config";
|
||||||
import {
|
import {
|
||||||
useReport,
|
useReport,
|
||||||
@@ -36,7 +36,7 @@ export default function Dashboard() {
|
|||||||
const [loadedTags, setLoadedTags] = React.useState<string[]>([]);
|
const [loadedTags, setLoadedTags] = React.useState<string[]>([]);
|
||||||
|
|
||||||
const report = useReport({
|
const report = useReport({
|
||||||
periods: ["weekly", "monthly", "all"],
|
periods: ["daily", "weekly", "monthly", "all"],
|
||||||
flow: modeToFlow(mode),
|
flow: modeToFlow(mode),
|
||||||
payee: appliedPayees.length > 0 ? appliedPayees : undefined,
|
payee: appliedPayees.length > 0 ? appliedPayees : undefined,
|
||||||
tags: appliedTags.length > 0 ? appliedTags : undefined,
|
tags: appliedTags.length > 0 ? appliedTags : undefined,
|
||||||
|
|||||||
Reference in New Issue
Block a user