Co-authored-by: orca-bug-scan-bot <orca-bug-scan-bot@stably.ai>
This commit is contained in:
parent
ffc7d77dbe
commit
0b60feb9db
|
|
@ -1,3 +1,4 @@
|
|||
import { toast } from 'sonner'
|
||||
import { absolutePathToFileUri } from '@/components/editor/markdown-internal-links'
|
||||
import { getConnectionId } from '@/lib/connection-context'
|
||||
import { useAppStore } from '@/store'
|
||||
|
|
@ -109,6 +110,7 @@ export function openFilePreviewToSide(params: {
|
|||
worktreeId
|
||||
})
|
||||
if (target.status === 'unsupported') {
|
||||
toast.error(target.message)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue