1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-07 22:45:23 +02:00

Fixed generating flat array, when pages remove

This commit is contained in:
slaveeks 2022-07-27 14:30:10 +03:00
parent ad4fd25344
commit abf6a6de3e

View file

@ -292,7 +292,10 @@ class Pages {
}
await flatArray.generate();
return page.destroy();
const removedPage = page.destroy();
await flatArray.generate();
return removedPage;
}
/**