mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-20 14:20:43 +00:00
Small updates to widgets; ok-ish version of filter query with relative time expressions; initial version of multi-select query for possible-values
This commit is contained in:
@ -173,7 +173,7 @@ function AppHome({app}: Props): JSX.Element
|
||||
const widgetCount = widgets ? widgets.length : 0;
|
||||
|
||||
// eslint-disable-next-line no-nested-ternary
|
||||
const tileSizeLg = (widgetCount === 0 ? 3 : widgetCount === 1 ? 4 : 6);
|
||||
const tileSizeLg = 3;
|
||||
|
||||
const handleDropdownOnChange = (value: string, index: number) =>
|
||||
{
|
||||
@ -207,7 +207,7 @@ function AppHome({app}: Props): JSX.Element
|
||||
<Grid container spacing={3}>
|
||||
{
|
||||
app.sections ? (
|
||||
<Grid item xs={12} lg={widgetCount === 0 ? 12 : widgetCount === 1 ? 9 : 6}>
|
||||
<Grid item xs={12} lg={12}>
|
||||
{app.sections.map((section) => (
|
||||
<Box key={section.name} mb={3}>
|
||||
<Card sx={{overflow: "visible"}}>
|
||||
|
Reference in New Issue
Block a user