IO-1612 Disable popover on PTO
This commit is contained in:
@@ -287,7 +287,7 @@ export function ScheduleEventComponent({
|
||||
return (
|
||||
<Popover
|
||||
visible={visible}
|
||||
onVisibleChange={(vis) => setVisible(vis)}
|
||||
onVisibleChange={(vis) => !event.vacation && setVisible(vis)}
|
||||
trigger="click"
|
||||
content={event.block ? blockContent : popoverContent}
|
||||
style={{ height: "100%", width: "100%" }}
|
||||
|
||||
Reference in New Issue
Block a user