File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
app/code/Magento/InventorySales/view/adminhtml/web/js/stock/grid/cell Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -19,16 +19,19 @@ define([
1919 * each over all sales channels and render html for each channel
2020 *
2121 * @param {Object } records contains all results
22- * @return {String } return rendered html content
22+ * @returns {String } return rendered html content
2323 */
2424 renderRecords : function ( records ) {
2525 var salesChannels = records [ 'sales_channels' ] ,
2626 htmlContent = '' ,
2727 channelType ;
2828
2929 if ( typeof salesChannels !== 'object' ) {
30- throw new Error ( "Provided wrong salesChannel type " + typeof salesChannels + ' the correct type would be object.' ) ;
30+ throw new Error (
31+ 'Provided wrong salesChannel type ' + typeof salesChannels + ' the correct type would be object.'
32+ ) ;
3133 }
34+
3235 for ( channelType in salesChannels ) {
3336 htmlContent += mageTemplate (
3437 channelTemplate ,
You can’t perform that action at this time.
0 commit comments