mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
fix load more not working
This commit is contained in:
@@ -489,15 +489,18 @@ export default function CloudLogsModal({ onClose }: ITableModalProps) {
|
||||
marginRight: "auto",
|
||||
display: "flex",
|
||||
}}
|
||||
onClick={() =>
|
||||
onClick={() => {
|
||||
setCloudLogFilters((c) => ({
|
||||
...c,
|
||||
timeRange: {
|
||||
...c.timeRange,
|
||||
value: (c.timeRange as any).value * 2,
|
||||
},
|
||||
}))
|
||||
}
|
||||
}));
|
||||
setTimeout(() => {
|
||||
mutate();
|
||||
}, 0);
|
||||
}}
|
||||
>
|
||||
Load more (last {cloudLogFilters.timeRange.value * 2}{" "}
|
||||
{cloudLogFilters.timeRange.type})
|
||||
|
||||
Reference in New Issue
Block a user