()
| 184 | } |
| 185 | |
| 186 | private updateSaveButtonState(): void { |
| 187 | if (!this.saveBtn) return; |
| 188 | |
| 189 | const hasChanges = this.remindersHaveChanged(); |
| 190 | this.saveBtn.disabled = !hasChanges; |
| 191 | this.saveBtn.textContent = hasChanges ? "Save Changes" : "No Changes"; |
| 192 | } |
| 193 | |
| 194 | private renderExistingReminders(container: HTMLElement): void { |
| 195 | const section = container.createDiv({ cls: "reminder-modal__section" }); |
no test coverage detected