We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d7af43 commit 49e3a72Copy full SHA for 49e3a72
1 file changed
src/components/image-control2/index.js
@@ -11,7 +11,9 @@ import Button from '../button'
11
* External dependencies
12
*/
13
import classnames from 'classnames'
14
-import { i18n, cimo } from 'stackable'
+import {
15
+ i18n, cimo, isPro,
16
+} from 'stackable'
17
import {
18
useAttributeName, useBlockAttributesContext, useBlockSetAttributesContext,
19
} from '~stackable/hooks'
@@ -88,7 +90,7 @@ const ImageControl = memo( props => {
88
90
89
91
useEffect( () => {
92
// Skip displaying the Cimo notice if the plugin is already activated or the user has chosen to hide the notice
- if ( ! cimo || cimo.hideNotice || cimo.status === 'activated' ) {
93
+ if ( isPro || ! cimo || cimo.hideNotice || cimo.status === 'activated' ) {
94
return
95
}
96
0 commit comments