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:
2023-02-13 10:46:59 -06:00
parent 6215e58e23
commit a10cee86a8
7 changed files with 145 additions and 8 deletions

View File

@ -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"}}>