Commit 6ccaa377 authored by Martin Lowe's avatar Martin Lowe 🇨🇦
Browse files

Merge branch 'zhoufang/dev/446' into 'dev'

#446 Fixed preview issue for web logo

See merge request !475
parents 191f7dc7 2b7f2c97
Pipeline #1774 passed with stage
in 0 seconds
......@@ -47,7 +47,7 @@ services:
- keycloak
- foundationdb
foundationdb:
image: eclipsefdn/foundationdb-api:staging-10b33ae-11
image: eclipsefdn/foundationdb-api:staging-cf0112a-13
ports:
- '8095:8095'
environment:
......
......@@ -120,9 +120,10 @@ export default function OrgProfilesBasicInfo() {
} else {
setIsUploadingWeb(false);
}
formikOrg.setFieldValue(`logos.logoFor${uploadTarget}`, fileContent);
// Update Portal Context - orgInfo to make sure everything is synced among sections
orgInfo !== null && setOrgInfo({ ...orgInfo, logos: { ...orgInfo?.logos, web: fileContent } });
if (orgInfo !== null && uploadTarget === 'Web') {
setOrgInfo({ ...orgInfo, logos: { ...orgInfo?.logos, web: fileContent } });
}
succeededToExecute('');
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment