()
| 81 | ) |
| 82 | |
| 83 | const openContext = () => { |
| 84 | if (!params.id) return |
| 85 | |
| 86 | const sessionView = view() |
| 87 | if (contextVisible()) { |
| 88 | tabs().close("context") |
| 89 | if (sessionView.reviewPanel.source() === "context-button" && !hasOtherTabs()) sessionView.reviewPanel.close() |
| 90 | return |
| 91 | } |
| 92 | |
| 93 | openSessionContext({ |
| 94 | view: sessionView, |
| 95 | layout, |
| 96 | tabs: tabs(), |
| 97 | }) |
| 98 | } |
| 99 | |
| 100 | const circle = () => ( |
| 101 | <div class="flex items-center justify-center"> |
nothing calls this directly
no test coverage detected