MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / updateSaveButtonState

Method updateSaveButtonState

src/modals/ReminderModal.ts:186–192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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" });

Callers 2

Calls 1

remindersHaveChangedMethod · 0.95

Tested by

no test coverage detected