mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-07 08:26:15 +00:00
fix: project deletion on moving documents (#467)
This commit is contained in:
parent
1e2657cf5c
commit
2ec20df0ea
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue