feat: implement rating summary service methods and integrate rating display components into the organization header and pending ratings page
This commit is contained in:
@@ -6,6 +6,7 @@ import dayjs from "dayjs";
|
||||
import "dayjs/locale/es";
|
||||
import { testContrast } from "@core/app/theme/scheduleView";
|
||||
import { formatDateLarge, formatTimeInterval } from "@core/helpers/format";
|
||||
import ServiceRatingSummary from "@components/ServiceRatingSummary/ServiceRatingSummary";
|
||||
|
||||
dayjs.locale("es");
|
||||
|
||||
@@ -36,6 +37,8 @@ export default function ServiceItem(props: ServiceItemProps): React.ReactElement
|
||||
<div className={style.serviceDescription}>{props.data.serviceDescription}</div>
|
||||
)}
|
||||
|
||||
<ServiceRatingSummary serviceId={props.data.serviceId} variant="card" />
|
||||
|
||||
<div className={style.cardFooter}>
|
||||
<div className={style.collaboratorInfo}>
|
||||
<Avatar
|
||||
|
||||
Reference in New Issue
Block a user