diff --git a/src/background/background.ts b/src/background/background.ts
index 09ccf05c..4bd8e05b 100644
--- a/src/background/background.ts
+++ b/src/background/background.ts
@@ -109,18 +109,18 @@ const updateBadgeColors = () => {
const spawnBalloon = async () => {
log.groupCollapsed(
- 'info',
+ 'debug',
`(${new Date().toLocaleTimeString()}) Spawning Balloon...`
);
- log.time('info', 'Spawn Time');
+ log.time('debug', 'Spawn Time');
const now = Date.now();
const minSpawnInterval = (await storage.sync.get('config')).spawnInterval
.min;
const skipSpawnMessage = (note: any, level: LogLevelNames = 'softwarn') => {
log[level](`Skipping spawnBalloon message: \r\n\t`, note);
- log.timeEnd('info', 'Spawn Time');
- log.groupEnd('info');
+ log.timeEnd('debug', 'Spawn Time');
+ log.groupEnd('debug');
};
// Check if there is a spawn timeout
@@ -165,8 +165,8 @@ const updateBadgeColors = () => {
log.softerror(' - Error sending spawn balloon script to tab', tab.id, e);
}
lastSpawn = now;
- log.timeEnd('info', 'Spawn Time');
- log.groupEnd('info');
+ log.timeEnd('debug', 'Spawn Time');
+ log.groupEnd('debug');
};
const createSpawnAlarm = async (name: AlarmName) => {
diff --git a/src/popup/components/Leaderboard.tsx b/src/popup/components/Leaderboard.tsx
index 996751db..fe75d09f 100644
--- a/src/popup/components/Leaderboard.tsx
+++ b/src/popup/components/Leaderboard.tsx
@@ -100,7 +100,7 @@ export default () => {
- {data.rank && (
+ {data.rank && data.rank <= limit * maxPages && (