diff --git a/src/background.js b/src/background.js index 4df14fa92..c18583502 100644 --- a/src/background.js +++ b/src/background.js @@ -1416,6 +1416,12 @@ function initializeEventListeners() { getDataForGhosteryTab(data => sendResponse({ historicalDataAndSettings: data })); return true; } + + if (recognized && request.name === 'getDashboardStats') { + insights.action('getDashboardStats', ...(request.args || [])).then(sendResponse); + return true; + } + return false; }); }