improvement: loading state added to buttons who interact with backend.
This commit is contained in:
@@ -45,8 +45,8 @@ interface LabCasesDispatchPanelProps {
|
||||
canInviteLab?: boolean;
|
||||
onInviteLab?: () => void;
|
||||
sendBusyId: string | null;
|
||||
onAddLabCase: () => void;
|
||||
onSendLabCase: (labCase: LabCaseDraft, comment?: string) => void;
|
||||
onAddLabCase: () => void | Promise<void>;
|
||||
onSendLabCase: (labCase: LabCaseDraft, comment?: string) => void | Promise<void>;
|
||||
onCommentError?: (message: string) => void;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user