File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
classes/Visualizer/Render/Page Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ protected function _renderToolbar() {
120
120
121
121
if ( ! empty ( $ libraries ) ) {
122
122
?>
123
- <select name="chart-library" class="viz-select-library" data-type-vs-library="<?php echo esc_attr ( json_encode ( $ type_vs_library ) ); ?> ">
123
+ <select name="chart-library" class="viz-select-library<?php echo ! Visualizer_Module_Admin:: proFeaturesLocked () ? ' viz-hide-libary ' : '' ; ?> " data-type-vs-library="<?php echo esc_attr ( json_encode ( $ type_vs_library ) ); ?> ">
124
124
<option value=""><?php esc_html_e ( 'Use Library ' , 'visualizer ' ); ?> </option>
125
125
<?php
126
126
foreach ( $ libraries as $ library ) {
Original file line number Diff line number Diff line change @@ -806,6 +806,9 @@ button#editor-chart-button {
806
806
.viz-select-library {
807
807
color : # 0085ba ;
808
808
}
809
+ .viz-select-library .viz-hide-libary {
810
+ display : none;
811
+ }
809
812
810
813
.viz-select-library option : first-child {
811
814
font-weight : bold;
You can’t perform that action at this time.
0 commit comments