Fixed dark mode bugs in the availability section (#8630)
* Fixed dark mode bugs in the availability section * Reverted the tooltip change for delete button * Updated tooltip of delete button conditionally based on isLastSchedule flag * fix: disabled button state Signed-off-by: Udit Takkar <[email protected]> --------- Signed-off-by: Udit Takkar <[email protected]> Co-authored-by: Udit Takkar <[email protected]> Co-authored-by: sean-brydon <[email protected]>
This commit is contained in:
3 files changed
+4
-7
No files matched your search
@@ -212,7 +212,7 @@ export default function Availability() {
|
||||
aria-label={t("delete")}
|
||||
className="hidden sm:inline"
|
||||
disabled={schedule?.isLastSchedule}
|
||||
tooltip={t("requires_at_least_one_schedule")}
|
||||
tooltip={schedule?.isLastSchedule ? t("requires_at_least_one_schedule") : t("delete")}
|
||||
/>
|
||||
</DialogTrigger>
|
||||
<ConfirmationDialogContent
|
||||
|
||||
Reference in new issue
Block a user