chore(openapi): format tags in API documentation for consistency
Updated the OpenAPI specification to format the 'tags' property as an array on multiple endpoints, ensuring consistent styling across the documentation. Additionally, simplified JSX return statements in the BookingsPage and AdminEventBookingsTab components for improved readability.
This commit is contained in:
parent
32b06db81c
commit
0a68104e85
@ -136,11 +136,7 @@ const BookingsPage = () => {
|
|||||||
|
|
||||||
if (!isCancelledLike || !reason) return '—'
|
if (!isCancelledLike || !reason) return '—'
|
||||||
|
|
||||||
return (
|
return <span className="max-w-[220px] whitespace-pre-wrap break-words text-xs text-secondary-20">{reason}</span>
|
||||||
<span className="max-w-[220px] whitespace-pre-wrap break-words text-xs text-secondary-20">
|
|
||||||
{reason}
|
|
||||||
</span>
|
|
||||||
)
|
|
||||||
},
|
},
|
||||||
checkedInAt: (_row, cellValue) => formatPersianDate(cellValue),
|
checkedInAt: (_row, cellValue) => formatPersianDate(cellValue),
|
||||||
createdAt: (_row, cellValue) => formatPersianDate(cellValue),
|
createdAt: (_row, cellValue) => formatPersianDate(cellValue),
|
||||||
|
|||||||
@ -120,11 +120,7 @@ const AdminEventBookingsTab = ({ eventId, eventStatus, onCheckedIn }: AdminEvent
|
|||||||
|
|
||||||
if (!isCancelledLike || !reason) return '—'
|
if (!isCancelledLike || !reason) return '—'
|
||||||
|
|
||||||
return (
|
return <span className="max-w-[220px] whitespace-pre-wrap break-words text-xs text-secondary-20">{reason}</span>
|
||||||
<span className="max-w-[220px] whitespace-pre-wrap break-words text-xs text-secondary-20">
|
|
||||||
{reason}
|
|
||||||
</span>
|
|
||||||
)
|
|
||||||
},
|
},
|
||||||
checkedInAt: (_row, cellValue) => formatPersianDate(cellValue),
|
checkedInAt: (_row, cellValue) => formatPersianDate(cellValue),
|
||||||
createdAt: (_row, cellValue) => formatPersianDate(cellValue),
|
createdAt: (_row, cellValue) => formatPersianDate(cellValue),
|
||||||
|
|||||||
3588
openapi.json
3588
openapi.json
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user