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:
parent
dfc84d0626
commit
d39c5e3568
3 changed files with 8 additions and 4 deletions
|
|
@ -99,8 +99,11 @@ export class CountdownTrackerApp extends HandlebarsApplicationMixin(ApplicationV
|
|||
}
|
||||
}
|
||||
|
||||
const hasCountdowns = Object.keys(countdowns).length > 0;
|
||||
|
||||
return {
|
||||
countdowns,
|
||||
hasCountdowns,
|
||||
isGM,
|
||||
isMinimized,
|
||||
isLocked,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue