690402:2240 fix dashboard
CI / CD Pipeline / build (push) Failing after 4m18s
CI / CD Pipeline / deploy (push) Has been skipped

This commit is contained in:
2026-04-02 22:40:11 +07:00
parent c188219e28
commit d4f0d02c62
22 changed files with 396 additions and 232 deletions
+4 -4
View File
@@ -6,10 +6,10 @@ export const circulationKeys = {
byCorrespondence: (uuid: string) => ['circulations', 'byCorrespondence', uuid] as const,
};
export function useCirculationsByCorrespondence(correspondenceUuid: string) {
export function useCirculationsByCorrespondence(correspondencePublicId: string) {
return useQuery({
queryKey: circulationKeys.byCorrespondence(correspondenceUuid),
queryFn: () => circulationService.getByCorrespondenceUuid(correspondenceUuid),
enabled: !!correspondenceUuid,
queryKey: circulationKeys.byCorrespondence(correspondencePublicId),
queryFn: () => circulationService.getByCorrespondenceUuid(correspondencePublicId),
enabled: !!correspondencePublicId,
});
}