From 59960884e4aae0cbd5a63b4dfb18d803ce177a1e Mon Sep 17 00:00:00 2001 From: fajarwz Date: Wed, 2 Sep 2026 07:56:49 +0700 Subject: [PATCH] Use ToggleButtons for schedule component status and fix maintenance icon color Replace Select with ToggleButtons for component_status in schedule create form and attach modal, matching the incident resource pattern. Fix under-maintenance SVG icon always rendering black by changing hardcoded fill to currentColor. --- resources/svg/component-under-maintenance.svg | 2 +- .../RelationManagers/ComponentsRelationManager.php | 5 ++++- src/Filament/Resources/Schedules/ScheduleResource.php | 8 +++++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/resources/svg/component-under-maintenance.svg b/resources/svg/component-under-maintenance.svg index ec9b1e19..37decf5d 100644 --- a/resources/svg/component-under-maintenance.svg +++ b/resources/svg/component-under-maintenance.svg @@ -2,7 +2,7 @@ width="20pt" height="20pt" viewBox="0 0 128.000000 128.000000" preserveAspectRatio="xMidYMid meet"> + fill="currentColor" stroke="none">