We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a000692 commit 5592a1aCopy full SHA for 5592a1a
src/utils/dropDownUtils.ts
@@ -5,7 +5,7 @@ import { Role } from "../slices/aclSlice";
5
* this file contains functions, which are needed for the searchable drop-down selections
6
*/
7
8
-export const formatTimeForDropdown = (times: {index: number, value: string}[]) => {
+export const formatTimeForDropdown = (times: {index: string, value: string}[]) => {
9
return times.map(({index, value}) => ({ label: value, value: index }));
10
};
11
0 commit comments