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

the lint removed

This commit is contained in:
Umang G. Patel 2022-08-10 10:16:54 +05:30
parent 7b8beac10a
commit b51a54567a
2 changed files with 2 additions and 1 deletions

View file

@ -291,6 +291,7 @@ class Pages {
await alias.destroy();
}
const removedPage = page.destroy();
await PagesFlatArray.regenerate();
return removedPage;

View file

@ -43,7 +43,7 @@ export interface PagesFlatArrayData {
}
/**
* @class PagesFlatArray model - flat array of pages, which are ordered like in sidebar
* @class PagesFlatArray model - flat array of pages, which are ordered like in sidebar
*/
class PagesFlatArray {
/**