From 87c66c648599dd0f543b5891fffb309f26614172 Mon Sep 17 00:00:00 2001 From: kotlanj Date: Fri, 31 Oct 2025 16:52:03 +0100 Subject: [PATCH] on-site color change --- shifts.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shifts.ps1 b/shifts.ps1 index 157f7b2..87fe214 100644 --- a/shifts.ps1 +++ b/shifts.ps1 @@ -392,7 +392,7 @@ try { # ---| ON-SITE SHIFT CHECK |--- if($email -in $os_emails) { if((Invoke-HasShiftorTimeOff -UID $userId -shifts $shifts_today -timeoff $timeoff_today -mail $email) -eq $false) { - $newshift = Set-Shift -userId $userId -groupID $group.id -shiftName "On-site" -StartDate $dateStart -EndDate $dateEnd -color "gray" -teamID $team.id -mail $email + $newshift = Set-Shift -userId $userId -groupID $group.id -shiftName "On-site" -StartDate $dateStart -EndDate $dateEnd -color "white" -teamID $team.id -mail $email $allshifts += [Object[]] $newshift continue }