improvement: icons added to prosthesis types catalog.
This commit is contained in:
@@ -295,6 +295,7 @@ function mapLabCaseDraftFromApi(lc: PastLabCase): LabCaseDraft {
|
||||
sends: lc.sends ?? [],
|
||||
dueDate: lc.dueDate ?? null,
|
||||
taskProgress: lc.taskProgress ?? null,
|
||||
shareUrl: lc.shareUrl ?? null,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -396,7 +397,7 @@ function mergeServerIdsIntoLabCases(
|
||||
return local.map((lc) => {
|
||||
const s = byClientId.get(lc.clientId);
|
||||
if (!s) return lc;
|
||||
return { ...lc, id: s.id ?? lc.id };
|
||||
return { ...lc, id: s.id ?? lc.id, shareUrl: s.shareUrl ?? lc.shareUrl };
|
||||
});
|
||||
}
|
||||
|
||||
@@ -2541,6 +2542,7 @@ export function TreatmentWorkspace({
|
||||
destinationOrganizationId: response.data.destinationOrganizationId,
|
||||
sends: response.data.sends,
|
||||
taskProgress: response.data.taskProgress ?? lc.taskProgress,
|
||||
shareUrl: response.data.shareUrl ?? lc.shareUrl,
|
||||
}
|
||||
: lc,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user