dynamic addStaticItem - subMenu not working?!
- 主要語言
- JavaScript
- 星號
- 11.3k
- 分支
- 3k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hey there,
I don't know if this is an issue but this is not working:
customProvider:
` angular.forEach(response.items, function(item){
baSidebarServiceProvider.addStaticItem(item);
});`
content via $http:
`"items": [
{
"title": "Level 1",
"subMenu": [
{
"title": "Level 2.1",
"subMenu": [
{
"title": "Level 3.1",
"fixedHref": "#/folder/6083",
"stateRef": "folder.6083"
}
]
}` and some more
Menu is visible and all but if I click on one item console logs:
> angular.js:14199 Error: Could not resolve 'folder.6083' from state 'dashboard'
When I create a route via `$stateProvider` e.g. folder.6083 nothing happens when I click on the menu item.
My goal is when I click on menuItem with state folder.1234 url = http://localhost/#/folder/1234 with folder.html as template file
What am I doing wrong here? Can't figure it out..
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。