SPRINT-20: made pagination options avaialble for table widgets, updated 'primary color' to come from metadata where possible (at this time),

This commit is contained in:
Tim Chamberlain
2023-02-13 13:18:19 -06:00
parent 12aa042058
commit 57c02fe7c8
20 changed files with 1045 additions and 1001 deletions

View File

@ -382,6 +382,10 @@ export default function App()
{
appleIcon.href = metaData.branding.icon;
}
if (metaData.branding.accentColor)
{
setAccentColor(metaData.branding.accentColor)
}
}
let profileRoutes = {};
@ -519,12 +523,15 @@ export default function App()
);
const [pageHeader, setPageHeader] = useState("");
const [accentColor, setAccentColor] = useState("#0062FF");
return (
appRoutes && (
<QContext.Provider value={{
pageHeader: pageHeader,
setPageHeader: (header: string) => setPageHeader(header)
accentColor: accentColor,
setPageHeader: (header: string) => setPageHeader(header),
setAccentColor: (accentColor: string) => setAccentColor(accentColor)
}}>
<ThemeProvider theme={theme}>
<CssBaseline />