This commit is contained in:
gsinghpal
2026-03-16 08:14:56 -04:00
parent fdca9518ab
commit e56974d46f
196 changed files with 19739 additions and 3471 deletions

View File

@@ -535,10 +535,12 @@ export class FusionClockPortal extends Interaction {
const reasonEl = document.getElementById("fclk-reason-text");
const timeEl = document.getElementById("fclk-reason-time");
const reason = reasonEl ? reasonEl.value.trim() : "";
const depTime = timeEl ? timeEl.value.trim() : "";
const rawTime = timeEl ? timeEl.value.trim() : "";
const depTime = rawTime ? new Date(rawTime).toISOString() : "";
if (!reason) {
this._showToast("Please provide a reason.", "error");
return;
}