File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
app/code/Magento/ConfigurableProduct/view/adminhtml/web/js/variations/steps Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -463,19 +463,19 @@ define([
463
463
// initialize Uppy upload
464
464
uppy . use ( Uppy . Dashboard , options ) ;
465
465
466
- // Use 'self.options' to access component options
467
- if ( self . options ?. isResizeEnabled ) {
468
- uppy . use ( Uppy . Compressor , {
469
- maxWidth : self . options . maxWidth ,
470
- maxHeight : self . options . maxHeight ,
471
- quality : 0.92 ,
472
- beforeDraw ( ) {
473
- if ( ! allowedResize ) {
474
- this . abort ( ) ;
475
- }
476
- }
477
- } ) ;
478
- }
466
+ // // Use 'self.options' to access component options
467
+ // if (self.options?.isResizeEnabled) {
468
+ // uppy.use(Uppy.Compressor, {
469
+ // maxWidth: self.options.maxWidth,
470
+ // maxHeight: self.options.maxHeight,
471
+ // quality: 0.92,
472
+ // beforeDraw() {
473
+ // if (!allowedResize) {
474
+ // this.abort();
475
+ // }
476
+ // }
477
+ // });
478
+ // }
479
479
480
480
// drop area for file upload
481
481
uppy . use ( Uppy . DropTarget , {
You can’t perform that action at this time.
0 commit comments