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:
authored and GitHub committed 2023-05-14 17:46:19 +00:00
1 parent 5e772530b2
commit 69bc12187e
3 files changed
+4 -7

No files matched your search

@@ -215,6 +215,7 @@ const RemoveTimeButton = ({
remove: UseFieldArrayRemove;
className?: string;
}) => {
const { t } = useLocale();
return (
<Button
type="button"
@@ -223,6 +224,7 @@ const RemoveTimeButton = ({
StartIcon={Trash}
onClick={() => remove(index)}
className={className}
tooltip={t("delete")}
/>
);
};