We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8918fef + 3c6a7b5 commit 95fd5e7Copy full SHA for 95fd5e7
1 file changed
lib/js/src/manager/file/filetypes/SdlArtwork.js
@@ -125,9 +125,9 @@ class SdlArtwork extends SdlFile {
125
clone () {
126
const clonedParams = Object.assign({}, this); // shallow copy
127
128
- if (clonedParams._imageRPC !== null) {
129
- clonedParams._imageRPC = Object.assign(new Image(), clonedParams._imageRPC);
130
- }
+ // do not clone the _imageRPC parameter. let getImageRPC regenerate the property if the manager needs it
+ delete clonedParams._imageRPC;
+
131
return Object.assign(new SdlArtwork(), clonedParams);
132
}
133
0 commit comments