Skip to content

Commit

Permalink
Fix for saving emtpy favicons on the theme;
Browse files Browse the repository at this point in the history
  • Loading branch information
stef-coenen committed Sep 11, 2023
1 parent a39a77a commit adcc719
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const themeAttributeProcessing = async (
attr: AttributeFile
): Promise<AttributeFile> => {
const imageFieldKey = HomePageThemeFields.Favicon;
const imageFileId = attr.data[imageFieldKey].fileId;
const imageFileId = attr?.data[imageFieldKey]?.fileId;
if (!imageFileId) return attr;

const targetDrive = GetTargetDriveFromProfileId(attr.profileId);
Expand Down

0 comments on commit adcc719

Please sign in to comment.