|
|
@@ -272,7 +272,11 @@ export namespace Project {
|
|
|
|
|
|
export async function list() {
|
|
|
const keys = await Storage.list(["project"])
|
|
|
- return await Promise.all(keys.map((x) => Storage.read<Info>(x)))
|
|
|
+ const projects = await Promise.all(keys.map((x) => Storage.read<Info>(x)))
|
|
|
+ return projects.map((project) => ({
|
|
|
+ ...project,
|
|
|
+ sandboxes: project.sandboxes.filter((x) => existsSync(x)),
|
|
|
+ }))
|
|
|
}
|
|
|
|
|
|
export const update = fn(
|