PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.10.8
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.10.8
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 3.10.4 All 148 releases
← All changes | classes/Visualizer/Gutenberg/src/Components/ChartPermissions.js +7 -9 3.1.23.10.8 View file →
@@ -63,14 +63,10 @@
63 63 }
64 64
65 65 render() {
66 66
67 - let permissions;
67 + let permissions = this.props.chart['visualizer-permissions'];
68 68
69 - if ( 'business' === visualizerLocalize.isPro ) {
70 - permissions = this.props.chart['visualizer-permissions'];
71 - }
72 -
73 69 return (
74 70 <Fragment>
75 71
76 72 { ( 'business' === visualizerLocalize.isPro ) ?
@@ -76,8 +72,9 @@
76 72 { ( 'business' === visualizerLocalize.isPro ) ?
77 73 <PanelBody
78 74 title={ __( 'Who can see this chart?' ) }
79 75 initialOpen={ false }
76 + className="vz-permission-tab"
80 77 >
81 78
82 79 <SelectControl
83 80 label={ __( 'Select who can view the chart on the front-end.' ) }
@@ -114,9 +111,9 @@
114 111 icon="lock"
115 112 initialOpen={ false }
116 113 >
117 114
118 - <p>{ __( 'Enable this feature in BUSINESS version!' ) }</p>
115 + <p>{ __( 'Upgrade your license to at least the DEVELOPER version to activate this feature!' ) }</p>
119 116
120 117 <Button
121 118 isPrimary
122 119 href={ visualizerLocalize.proTeaser }
@@ -121,9 +118,9 @@
121 118 isPrimary
122 119 href={ visualizerLocalize.proTeaser }
123 120 target="_blank"
124 121 >
125 - { __( 'Buy Now' ) }
122 + { __( 'Upgrade Now' ) }
126 123 </Button>
127 124
128 125 </PanelBody>
129 126 }
@@ -131,8 +128,9 @@
131 128 { ( 'business' === visualizerLocalize.isPro ) ?
132 129 <PanelBody
133 130 title={ __( 'Who can edit this chart?' ) }
134 131 initialOpen={ false }
132 + className="vz-permission-tab"
135 133 >
136 134
137 135 <SelectControl
138 136 label={ __( 'Select who can edit the chart on the front-end.' ) }
@@ -169,9 +167,9 @@
169 167 icon="lock"
170 168 initialOpen={ false }
171 169 >
172 170
173 - <p>{ __( 'Enable this feature in BUSINESS version!' ) }</p>
171 + <p>{ __( 'Upgrade your license to at least the DEVELOPER version to activate this feature!' ) }</p>
174 172
175 173 <Button
176 174 isPrimary
177 175 href={ visualizerLocalize.proTeaser }
@@ -176,9 +174,9 @@
176 174 isPrimary
177 175 href={ visualizerLocalize.proTeaser }
178 176 target="_blank"
179 177 >
180 - { __( 'Buy Now' ) }
178 + { __( 'Upgrade Now' ) }
181 179 </Button>
182 180
183 181 </PanelBody>
184 182 }