Module

services/menu

Service to handle the fetch of menu items

Methods

# async inner getMenu(params) → {Promise.<Menu>}

Gets the Menu for the application

Parameters:
Name Type Description
params any

Params defined as an object

isAuthenticated boolean

whether the user is authenticated in the application or not, to display the proper items

locale string

locale code

Menu Items

Promise.<Menu>