Refactoring.

This commit is contained in:
Tatiana Lopaeva 2024-06-26 13:32:44 +03:00
parent 523bf28fd9
commit 3ff194fc66

View File

@ -50,7 +50,7 @@ class CreateEditRoomStore {
infoPanelStore = null;
currentQuotaStore = null;
watermarksSettings = {};
initialWatermarksSettings = null;
initialWatermarksSettings = {};
isImageType = false;
constructor(
@ -181,7 +181,7 @@ class CreateEditRoomStore {
!this.watermarksSettings.enabled,
this.watermarksSettings.imageUrl,
);
if (
!watermarkImage &&
!this.watermarksSettings.enabled &&
@ -197,7 +197,7 @@ class CreateEditRoomStore {
imageHeight: watermarksSettings.imageHeight,
});
}
const { uploadRoomLogo } = this.filesStore;
const uploadWatermarkData = new FormData();