feat: Dynamically update the countdown tracker's add button tooltip and icon based on existing countdowns, and increment module version.

This commit is contained in:
CPTN Cosmo 2025-12-22 01:02:49 +01:00
parent dfc84d0626
commit d39c5e3568
3 changed files with 8 additions and 4 deletions

View file

@ -99,8 +99,11 @@ export class CountdownTrackerApp extends HandlebarsApplicationMixin(ApplicationV
}
}
const hasCountdowns = Object.keys(countdowns).length > 0;
return {
countdowns,
hasCountdowns,
isGM,
isMinimized,
isLocked,