mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-03 07:58:59 -04:00
Merge branch 'main' of https://github.com/GSA/notifications-admin into 1484-dashboard-visualizations
# Conflicts: # app/assets/sass/uswds/_uswds-theme-custom-styles.scss # app/templates/views/dashboard/dashboard.html # gulpfile.js # tests/app/main/views/test_dashboard.py
This commit is contained in:
@@ -190,12 +190,11 @@
|
||||
var socketConnect = type === 'service' ? 'daily_stats_update' : 'daily_stats_by_user_update';
|
||||
|
||||
socket.on('connect', function () {
|
||||
const userId = ctx.getAttribute('data-service-id'); // Assuming user ID is the same as service ID
|
||||
//const userId = ctx.getAttribute('data-service-id'); // Assuming user ID is the same as service ID
|
||||
socket.emit(eventType);
|
||||
});
|
||||
|
||||
socket.on(socketConnect, function(data) {
|
||||
console.log('Received data:', data); // Log the received data
|
||||
|
||||
var labels = [];
|
||||
var deliveredData = [];
|
||||
|
||||
Reference in New Issue
Block a user