Closed lexislav closed 4 years ago
Using craft.navie.items().list('mainMenu').all() ends up with Impossible to invoke a method ("level") on an array message.
craft.navie.items().list('mainMenu').all()
Getting the results in this way is possible using level() craft.navie.items().list('mainMenu').level(1).
craft.navie.items().list('mainMenu').level(1)
Edit: Craft 3.4.X, Navie 1.2.2.1
Could you provide more information about your setup. I cannot reproduce your issue.
Sorry, It was my mistake in template. It works as it should.
Using
craft.navie.items().list('mainMenu').all()
ends up with Impossible to invoke a method ("level") on an array message.Getting the results in this way is possible using level()
craft.navie.items().list('mainMenu').level(1)
.Edit: Craft 3.4.X, Navie 1.2.2.1