Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor createMenuTree #44

Merged
merged 7 commits into from
Feb 19, 2019
Merged

refactor createMenuTree #44

merged 7 commits into from
Feb 19, 2019

Conversation

khaydarov
Copy link
Member

@khaydarov khaydarov commented Feb 15, 2019

resolves #37

src/routes/middlewares/pages.js Outdated Show resolved Hide resolved
@@ -65,10 +74,15 @@ class PagesOrder {
* @return {Page[]}
*/
static async getOrderedChildren(pages, currentPageId, parentPageId, ignoreSelf = false) {
const children = await PagesOrder.get(parentPageId);
const children = await Model.get(parentPageId);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Что-то тут не так

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

что?)

@khaydarov khaydarov merged commit 7890d17 into master Feb 19, 2019
@khaydarov khaydarov deleted the create-menu-refactoring branch February 19, 2019 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Переделать CreateMenu
3 participants