This commit is contained in:
Dax Raad
2025-09-02 18:00:48 -04:00
parent e544cccc70
commit 2e16d685eb
6 changed files with 20 additions and 18 deletions

View File

@@ -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: {