Commit Graph
2 Commits
Author SHA1 Message Date
Bogdan Chadkin 59e1a87953 fix: append iterator to page when inserting from marketplace (#3433)
Fixes https://github.com/webstudio-is/webstudio/issues/3431

Here improved page name logic to check conflicts in target folder.
2024-05-28 01:44:03 +03:00
Bogdan Chadkin 9980bb9f47 refactor: generalize page copying logic (#3424)
Ref https://github.com/webstudio-is/webstudio/issues/3397

Here split insertPageCopyMutable from duplicatePage utility. It
basically can extract page from any data and insert into any data. I
will reuse it in marketplace later.

Also fixed copying status, redirect and language fields. Their variables
were not updated with new ids.
2024-05-26 20:11:43 +03:00