MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / setBadge

Function setBadge

runtime/src/js/progress.js:12–17  ·  view source on GitHub ↗
(count)

Source from the content-addressed store, hash-verified

10import { app } from 'electron';
11
12export function setBadge(count) {
13 const badgeCount = parseInt(count, 10);
14 if (!isNaN(badgeCount)) {
15 app.setBadgeCount(badgeCount);
16 }
17}
18
19// Function to clear badge
20export function clearBadge() {

Callers 1

updateProgressFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected