()
| 53 | }) |
| 54 | |
| 55 | function syncSession() { |
| 56 | const id = route.params.id as string |
| 57 | if (id) { |
| 58 | selectSession(id) |
| 59 | if (currentSessionId.value !== id) { |
| 60 | router.replace('/') |
| 61 | } |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | async function loadBaseData() { |
| 66 | if (!currentSessionId.value) return |
no test coverage detected