fix(fig): preserve imported canvas guids
This commit is contained in:
parent
12d726eee1
commit
8eedaba84f
|
|
@ -286,6 +286,7 @@ function importPages(
|
|||
if (!canvasNc) continue
|
||||
if (canvasNc.type === 'CANVAS') {
|
||||
const page = graph.addPage(canvasNc.name ?? 'Page')
|
||||
page.figmaGuid = canvasId
|
||||
canvasIdToPageId.set(canvasId, page.id)
|
||||
if (canvasNc.internalOnly) page.internalOnly = true
|
||||
created.add(canvasId)
|
||||
|
|
|
|||
Loading…
Reference in a new issue