260318:0931 Fix UUID and UTF
Build and Deploy / deploy (push) Failing after 9m41s

This commit is contained in:
admin
2026-03-18 09:31:49 +07:00
parent 3abef2c745
commit 56def2d323
21 changed files with 459 additions and 151 deletions
+3 -3
View File
@@ -14,11 +14,11 @@ type DrawingSearchParams = SearchContractDrawingDto | SearchShopDrawingDto | Sea
interface DrawingListProps {
type: 'CONTRACT' | 'SHOP' | 'AS_BUILT';
projectId: number;
projectUuid: string;
filters?: Partial<DrawingSearchParams>;
}
export function DrawingList({ type, projectId, filters }: DrawingListProps) {
export function DrawingList({ type, projectUuid, filters }: DrawingListProps) {
const [pagination, setPagination] = useState<PaginationState>({
pageIndex: 0,
pageSize: 20,
@@ -30,7 +30,7 @@ export function DrawingList({ type, projectId, filters }: DrawingListProps) {
data: response,
isLoading,
} = useDrawings(type, {
projectId,
projectUuid,
...filters,
page: pagination.pageIndex + 1, // API is 1-based
limit: pagination.pageSize,