mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-05 16:02:19 +00:00
wip: zen
This commit is contained in:
parent
e544cccc70
commit
2e16d685eb
6 changed files with 20 additions and 18 deletions
|
|
@ -22,8 +22,8 @@ export const getActor = async (): Promise<Actor.Info> => {
|
|||
const auth = await useAuthSession()
|
||||
const splits = url.pathname.split("/").filter(Boolean)
|
||||
if (splits[0] !== "workspace") {
|
||||
if (auth.data.current) {
|
||||
const current = auth.data.account[auth.data.current]
|
||||
const current = auth.data.account[auth.data.current ?? ""]
|
||||
if (current) {
|
||||
return {
|
||||
type: "account",
|
||||
properties: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue