Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove test variation
  • Loading branch information
ntsekouras committed Sep 7, 2022
commit c428d5fc45bcba4e5d40d764ec8bcf10beec882c
24 changes: 0 additions & 24 deletions packages/block-library/src/query/variations.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,30 +31,6 @@ const QUERY_DEFAULT_ATTRIBUTES = {
};

const variations = [
{
name: 'products-list',
title: __( 'Products List' ),
description: __( 'Display a list of your products.' ),
attributes: {
query: {
perPage: 4,
pages: 1,
offset: 0,
postType: 'product',
order: 'desc',
orderBy: 'date',
author: '',
search: '',
sticky: 'exclude',
inherit: false,
},
namespace: 'wp/query/products',
},
allowControls: [ 'order', 'taxQuery', 'search' ],
isActive: ( blockAttributes, variationAttributes ) =>
blockAttributes?.namespace === variationAttributes.namespace,
scope: [ 'inserter' ],
},
{
name: 'posts-list',
title: __( 'Posts List' ),
Expand Down