Skip to content

Commit 001cce7

Browse files
committed
fix: restore Add to favorites on GitOps detail pages
Signed-off-by: Atif Ali <atali@redhat.com>
1 parent 0b30666 commit 001cce7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gitops/components/shared/FavoriteButton/FavoriteButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const Modal: React.FC<ModalProps> = ({ isFullScreen = false, className, ...props
3535
{...props}
3636
className={cx('ocs-modal', className)}
3737
appendTo={() =>
38-
isFullScreen ? document.body : (document.querySelector('#modal-container') ?? document.body)
38+
isFullScreen ? document.body : document.querySelector('#modal-container') ?? document.body
3939
}
4040
/>
4141
);

0 commit comments

Comments
 (0)