diff --git a/app/voicemails/resources/dashboard/voicemails.php b/app/voicemails/resources/dashboard/voicemails.php index ad036a3a64..811edb1c08 100644 --- a/app/voicemails/resources/dashboard/voicemails.php +++ b/app/voicemails/resources/dashboard/voicemails.php @@ -55,52 +55,50 @@ } //add doughnut chart - echo " -
-
-
+ ?> +
+
+
- - "; + const new_messages_chart = new Chart( + document.getElementById('new_messages_chart'), + new_messages_config + ); + + "; if (sizeof($voicemails) > 0) {