diff options
Diffstat (limited to 'renderer/src/components')
| -rw-r--r-- | renderer/src/components/Header.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/renderer/src/components/Header.tsx b/renderer/src/components/Header.tsx index 1d954ec..dc88a73 100644 --- a/renderer/src/components/Header.tsx +++ b/renderer/src/components/Header.tsx | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | import React, { useState, useEffect } from "react"; | 1 | import React, { useState, useEffect } from "react"; |
| 2 | import type { Project, Session, Phase } from "../types"; | 2 | import type { Project, Session, Phase } from "../types"; |
| 3 | import { formatSessionLabel } from "../utils/timeFormat"; | ||
| 3 | 4 | ||
| 4 | const api = window.api; | 5 | const api = window.api; |
| 5 | 6 | ||
| @@ -165,7 +166,7 @@ export function Header({ | |||
| 165 | <option value="">Select Session...</option> | 166 | <option value="">Select Session...</option> |
| 166 | {sessions.map((s) => ( | 167 | {sessions.map((s) => ( |
| 167 | <option key={s.id} value={s.id}> | 168 | <option key={s.id} value={s.id}> |
| 168 | {s.name} | 169 | {formatSessionLabel(s.name, s.updated_at)} |
| 169 | </option> | 170 | </option> |
| 170 | ))} | 171 | ))} |
| 171 | </select> | 172 | </select> |
