Skip to content

Commit da1fc01

Browse files
committed
Sort smart apps by the last update time, most recent first
1 parent a598471 commit da1fc01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/containers/PatientDetails/PatientApps

src/containers/PatientDetails/PatientApps/hooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function useSmartApps(encounter?: Encounter) {
2626
}
2727
}
2828
return mapSuccess(
29-
await getAidboxResources<Client>('Client', { ['.type']: clientType }),
29+
await getAidboxResources<Client>('Client', { ['.type']: clientType, _sort: '-lastUpdated' }),
3030
(b) => extractBundleResources(b).Client,
3131
);
3232
});

0 commit comments

Comments
 (0)