mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-13 07:04:39 +00:00
fix: coverImage checking before trying to convert
This commit is contained in:
@@ -97,7 +97,7 @@ export const sendThemeUpdate = (updatedTheme: CustomTheme, saveTheme?: boolean,
|
||||
CustomImages: imageData,
|
||||
};
|
||||
|
||||
if (saveTheme) {
|
||||
if (saveTheme && updatedTheme.coverImage instanceof Blob) {
|
||||
themeData.coverImage = await blobToBase64(updatedTheme.coverImage as Blob);
|
||||
} else {
|
||||
themeData.coverImage = null;
|
||||
|
||||
Reference in New Issue
Block a user