fix: multi owner
This commit is contained in:
@@ -293,7 +293,8 @@ export const useScriptWorkspaceStore = create<State>((set, get) => {
|
||||
next.delete(path);
|
||||
} else {
|
||||
next.add(path);
|
||||
if (!state.loadedChildPaths.has(path)) {
|
||||
// group key (`__group__<owner_id>`) 不是 workspace 路径,不调 loadChildren
|
||||
if (!path.startsWith("__group__") && !state.loadedChildPaths.has(path)) {
|
||||
void get().loadChildren(path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user