Skip to content

Commit

Permalink
change ProControl type
Browse files Browse the repository at this point in the history
  • Loading branch information
mxkae committed Sep 18, 2024
1 parent 0401825 commit 1097e04
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/components/pro-control/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ const LABELS = {
<li>{ __( 'Hide the current post - great for synced patterns', i18n ) }</li>
</ul>,
},
'icon-library': {
description: <ul>
<li>{ __( 'Icon Library', i18n ) }</li>
</ul>,
},
}

const ProControl = props => {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/global-settings/icon-library.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ addFilter( 'stackable.global-settings.inspector', 'stackable/icon-library', outp
id="icon-library-settings"
isPremiumPanel={ ! isPro }
>
{ ! isPro && <ProControl type="transforms" /> }
{ ! isPro && <ProControl type="icon-library" /> }
{ isPro &&
applyFilters( 'stackable.global-settings.inspector.icon-library.control', null )
}
Expand Down

0 comments on commit 1097e04

Please sign in to comment.