We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3acd3f3 commit 6edad14Copy full SHA for 6edad14
1 file changed
src/app/service/service_worker/popup.ts
@@ -244,8 +244,8 @@ export class PopupService {
244
for (const d of data) {
245
runCount += d.runNum;
246
}
247
- scriptCountMap.set(tabId, `${data.length}`);
248
- runCountMap.set(tabId, `${runCount}`);
+ data.length && scriptCountMap.set(tabId, `${data.length}`);
+ runCount && runCountMap.set(tabId, `${runCount}`);
249
return data;
250
});
251
0 commit comments