260318:1237 Fix UUID #4
Build and Deploy / deploy (push) Successful in 11m17s

This commit is contained in:
admin
2026-03-18 12:37:29 +07:00
parent 5d89079c2a
commit ba642e7e42
71 changed files with 533 additions and 319 deletions
+4 -3
View File
@@ -104,10 +104,11 @@ export function useCorrespondenceTypes() {
// --- Drawing Categories Hooks ---
export function useContractDrawingCategories() {
export function useContractDrawingCategories(projectId?: number | string) {
return useQuery({
queryKey: ['contract-drawing-categories'],
queryFn: () => masterDataService.getContractDrawingCategories(),
queryKey: ['contract-drawing-categories', projectId],
queryFn: () => masterDataService.getContractDrawingCategories(projectId),
enabled: !!projectId,
});
}