diff --git a/src/Pages/Store/Services/index.js b/src/Pages/Store/Services/index.js index 8c881e5..1671221 100644 --- a/src/Pages/Store/Services/index.js +++ b/src/Pages/Store/Services/index.js @@ -1,4 +1,4 @@ -import { InfoCircleOutlined, PlusOutlined } from "@ant-design/icons"; +import { CaretRightOutlined, PlusOutlined } from "@ant-design/icons"; import { Avatar, Button, @@ -192,6 +192,17 @@ function Service({ useEffect(() => fetchServiceActivities(), [isOpen]); + const expandIcon = ({ isActive }) => { + if (isRequestingActivities) return ; + + return ( + e.stopPropagation()} + /> + ); + }; + return ( <> {notificationContextHolder} @@ -199,6 +210,7 @@ function Service({ setIsOpen(e.length !== 0)} + expandIcon={expandIcon} items={[ { key: "1",