mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-22 19:55:11 +00:00
chore: generate
This commit is contained in:
parent
3173ba1288
commit
69b3b35ea5
2 changed files with 14 additions and 6 deletions
|
|
@ -1102,12 +1102,14 @@ export default function Page() {
|
|||
visibleUserMessages().length
|
||||
store.turnStart
|
||||
|
||||
const targetId = pendingMessage() ?? (() => {
|
||||
const hash = window.location.hash.slice(1)
|
||||
const match = hash.match(/^message-(.+)$/)
|
||||
if (!match) return undefined
|
||||
return match[1]
|
||||
})()
|
||||
const targetId =
|
||||
pendingMessage() ??
|
||||
(() => {
|
||||
const hash = window.location.hash.slice(1)
|
||||
const match = hash.match(/^message-(.+)$/)
|
||||
if (!match) return undefined
|
||||
return match[1]
|
||||
})()
|
||||
if (!targetId) return
|
||||
if (store.messageId === targetId) return
|
||||
|
||||
|
|
|
|||
|
|
@ -231,6 +231,9 @@
|
|||
"url": {
|
||||
"type": "string"
|
||||
},
|
||||
"override": {
|
||||
"type": "string"
|
||||
},
|
||||
"color": {
|
||||
"type": "string"
|
||||
}
|
||||
|
|
@ -5796,6 +5799,9 @@
|
|||
"url": {
|
||||
"type": "string"
|
||||
},
|
||||
"override": {
|
||||
"type": "string"
|
||||
},
|
||||
"color": {
|
||||
"type": "string"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue