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:
parent
ad4fd25344
commit
abf6a6de3e
1 changed files with 4 additions and 1 deletions
|
@ -292,7 +292,10 @@ class Pages {
|
|||
}
|
||||
await flatArray.generate();
|
||||
|
||||
return page.destroy();
|
||||
const removedPage = page.destroy();
|
||||
await flatArray.generate();
|
||||
|
||||
return removedPage;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue