mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-10 01:48:40 +00:00
chore: generate
This commit is contained in:
parent
003c22b4a3
commit
8289883de8
1 changed files with 5 additions and 1 deletions
|
|
@ -65,7 +65,11 @@ export function SessionContextUsage(props: SessionContextUsageProps) {
|
|||
return usd().format(info()?.cost ?? 0)
|
||||
})
|
||||
const contextVisible = createMemo(() => view().reviewPanel.opened() && tabState.activeTab() === "context")
|
||||
const hasOtherTabs = createMemo(() => tabs().all().some((tab) => tab !== "context" && tab !== "review"))
|
||||
const hasOtherTabs = createMemo(() =>
|
||||
tabs()
|
||||
.all()
|
||||
.some((tab) => tab !== "context" && tab !== "review"),
|
||||
)
|
||||
|
||||
const openContext = () => {
|
||||
if (!params.id) return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue