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() {
120120
121121 if ( ! empty ( $ libraries ) ) {
122122 ?>
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 ) ); ?> ">
124124 <option value=""><?php esc_html_e ( 'Use Library ' , 'visualizer ' ); ?> </option>
125125 <?php
126126 foreach ( $ libraries as $ library ) {
Original file line number Diff line number Diff line change @@ -806,6 +806,9 @@ button#editor-chart-button {
806806.viz-select-library {
807807 color : # 0085ba ;
808808}
809+ .viz-select-library .viz-hide-libary {
810+ display : none;
811+ }
809812
810813.viz-select-library option : first-child {
811814 font-weight : bold;
You can’t perform that action at this time.
0 commit comments