Add default settings to switch status dashboard widget (#6333)

* Update app_config.php

* Update switch_status.php

* Update app_config.php

* Update app_config.php
This commit is contained in:
AlexC
2022-03-28 10:29:32 -06:00
committed by GitHub
parent ca9da1b1aa
commit 234531e330
2 changed files with 35 additions and 2 deletions
@@ -86,7 +86,7 @@
datasets: [{
data: ['<?php echo $registrations; ?>', 0.00001],
backgroundColor: ['<?php echo $_SESSION['dashboard']['switch_status_chart_main_background_color']['text']; ?>',
'<?php echo $_SESSION['dashboard']['missed_calls_chart_sub_background_color']['text']; ?>'],
'<?php echo $_SESSION['dashboard']['switch_status_chart_sub_background_color']['text']; ?>'],
borderColor: '<?php echo $_SESSION['dashboard']['switch_status_chart_border_color']['text']; ?>',
borderWidth: '<?php echo $_SESSION['dashboard']['switch_status_chart_border_width']['text']; ?>',
cutout: chart_cutout