From 27e0233cb67f60f650856455a0ff32c6d73c35e3 Mon Sep 17 00:00:00 2001 From: grogou Date: Tue, 27 Jul 2021 23:35:15 +0400 Subject: [PATCH] Update assets/js/blocks/stock-filter/block.js Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com> --- assets/js/blocks/stock-filter/block.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/blocks/stock-filter/block.js b/assets/js/blocks/stock-filter/block.js index 4f9be54d45f..838d0c24f8d 100644 --- a/assets/js/blocks/stock-filter/block.js +++ b/assets/js/blocks/stock-filter/block.js @@ -31,7 +31,7 @@ const { outofstock, ...otherStockStatusOptions } = getSetting( const STOCK_STATUS_OPTIONS = hideOutOfStockItems ? otherStockStatusOptions : { outofstock, ...otherStockStatusOptions }; -// filter added to handle if there are slugs without a corresponding name defined. +// Filter added to handle if there are slugs without a corresponding name defined. const initialOptions = Object.entries( STOCK_STATUS_OPTIONS ) .map( ( [ slug, name ] ) => ( { slug, name } ) ) .filter( ( status ) => !! status.name )