Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Fix QueryVariation enum
Browse files Browse the repository at this point in the history
We had changed the Products on Sale variation slug to something else,
but we had forgotten to update the proper enum.
  • Loading branch information
sunyatasattva committed Aug 16, 2022
1 parent cf5a57e commit 4ffd40a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/js/blocks/product-query/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ export interface QueryBlockQuery {
export enum QueryVariation {
/** The main, fully customizable, Product Query block */
PRODUCT_QUERY = 'product-query',
PRODUCTS_ON_SALE = 'query-on-sale',
/** Only shows products on sale */
PRODUCTS_ON_SALE = 'query-products-on-sale',
}

export type WooCommerceBlockVariation< T > = EditorBlock< {
Expand Down

0 comments on commit 4ffd40a

Please sign in to comment.