Skip to content

Commit

Permalink
Rename allowedBlockNames to allowedBlocks as per upstream discussion
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Apr 1, 2019
1 parent 53def88 commit a5ee722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/src/plugins/template-menu-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function registerTemplateSaveMenuItem() {
registerPlugin( 'amp-story', {
render: ( ) => (
<PluginBlockSettingsMenuItem
allowedBlockNames={ [ 'amp/amp-story-page' ] }
allowedBlocks={ [ 'amp/amp-story-page' ] }
icon="welcome-add-page"
label={ __( 'Save as Template', 'amp' ) }
role="menuitem"
Expand Down

0 comments on commit a5ee722

Please sign in to comment.