Skip to content

Commit

Permalink
feat: Set the portal name based on the settings (#8)
Browse files Browse the repository at this point in the history
Co-authored-by: janssenb <[email protected]>
  • Loading branch information
JanssenBrm and JanssenBrm authored Nov 5, 2021
1 parent e526382 commit f76ec11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ export const ConfigProvider: React.FC<ConfigProviderProps> = ({ children, api, t
responses.map((r) => r.json()),
);

if(rest.portalName) {
document.title = rest.portalName;
}

const fontUrls = theme?.typography?.urls;

// load fonts
Expand Down

0 comments on commit f76ec11

Please sign in to comment.