File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
app/code/Magento/ConfigurableProduct/view/adminhtml Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<!--
3
3
/**
4
- * Copyright © Magento, Inc. All rights reserved.
5
- * See COPYING.txt for license details .
4
+ * Copyright 2011 Adobe
5
+ * All Rights Reserved .
6
6
*/
7
7
-->
8
8
<layout xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:View/Layout/etc/page_layout.xsd" >
Original file line number Diff line number Diff line change @@ -463,15 +463,14 @@ define([
463
463
uppy . use ( Uppy . Dashboard , options ) ;
464
464
465
465
// Use 'self.options' to access component options
466
- if ( self . options . isResizeEnabled ) {
466
+ if ( self . options ? .isResizeEnabled ) {
467
467
uppy . use ( Uppy . Compressor , {
468
468
maxWidth : self . options . maxWidth ,
469
469
maxHeight : self . options . maxHeight ,
470
470
quality : 0.92 ,
471
471
beforeDraw ( ) {
472
- if ( ! allowedResize ) {
472
+ if ( ! allowedResize )
473
473
this . abort ( ) ;
474
- }
475
474
}
476
475
} ) ;
477
476
}
You can’t perform that action at this time.
0 commit comments