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
@@ -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")}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user