diff options
| author | MaheshtheDev <[email protected]> | 2025-10-08 23:34:31 +0000 |
|---|---|---|
| committer | MaheshtheDev <[email protected]> | 2025-10-08 23:34:31 +0000 |
| commit | 2ec20df0eac768cfe7f453fffd1b764ad0ba4333 (patch) | |
| tree | 39dc1db543c7688e4f67d4aee91c7961a40c8920 /apps | |
| parent | Revert "test(ai-sdk): streamText and generateText for ai sdk" (#466) (diff) | |
| download | supermemory-2ec20df0eac768cfe7f453fffd1b764ad0ba4333.tar.xz supermemory-2ec20df0eac768cfe7f453fffd1b764ad0ba4333.zip | |
fix: project deletion on moving documents (#467)
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/web/components/project-selector.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/web/components/project-selector.tsx b/apps/web/components/project-selector.tsx index a492783b..3605edb6 100644 --- a/apps/web/components/project-selector.tsx +++ b/apps/web/components/project-selector.tsx @@ -294,7 +294,13 @@ export function ProjectSelector() { <SelectValue placeholder="Select target project..." /> </SelectTrigger> <SelectContent> - <SelectItem value={DEFAULT_PROJECT_ID}> + <SelectItem + value={ + projects.find( + (p) => p.containerTag === DEFAULT_PROJECT_ID, + )?.id || "" + } + > Default Project </SelectItem> {projects |