Skip to content

Commit d66f2e4

Browse files
committed
fix reloadGrid return type
1 parent ab397dc commit d66f2e4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

AdobeStockImageAdminUi/Test/Mftf/ActionGroup/AdminAdobeStockMediaGallerySearchByKeywordActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<description>Fills 'Search by keyword' on media galllery grid page page. Clicks on Submit Search.</description>
1414
</annotations>
1515
<arguments>
16-
<argument name="keyword"/>
16+
<argument name="keyword" type="string"/>
1717
</arguments>
1818

1919
<conditionalClick selector="{{AdminEnhancedMediaGalleryActionsSection.clearFilters}}" dependentSelector="{{AdminEnhancedMediaGalleryActionsSection.clearFilters}}" visible="true" stepKey="clearExistingOrderFilters"/>

AdobeStockImageAdminUi/view/adminhtml/web/js/components/grid/column/preview/actions.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,8 @@ define([
336336
provider = uiRegistry.get('index = media_gallery_listing_data_source'),
337337
dataStorage = provider.storage();
338338

339-
// this.subscriptionOnImageItems();
340339
dataStorage.clearRequests();
341-
provider.reload();
340+
return provider.reload();
342341
},
343342

344343
/**

0 commit comments

Comments
 (0)