conservation du nom
This commit is contained in:
@ -42,8 +42,8 @@ export const loadSpace = async (spaceId: string) => {
|
||||
const decompressed = decompressSpace(compressed)
|
||||
|
||||
if (decompressed) {
|
||||
// Save the shared space with a new ID
|
||||
const newSpaceId = `imported-${Date.now()}`
|
||||
// Use the original space ID to preserve the name
|
||||
const newSpaceId = decompressed.id
|
||||
let space = await db.createSpace(newSpaceId)
|
||||
|
||||
// Add all notes from the shared space
|
||||
|
||||
Reference in New Issue
Block a user