Updating the right path to the Packages dashboard subviews. Adding new properties and attribute to meet the new implementation standards of a section.

This commit is contained in:
elitsa
2018-10-02 14:19:00 +02:00
parent 0ec789ca06
commit cda24b4fba
2 changed files with 11 additions and 8 deletions

View File

@@ -27,25 +27,28 @@
{
"name": "Packages",
"icon": "icon-cloud",
"view": "views/packager/views/repo.html",
"active": !installPackageUri || installPackageUri === "navigation"
"view": "views/packages/views/repo.html",
"active": !installPackageUri || installPackageUri === "navigation",
"alias": "umbPackages"
},
{
"name": "Installed",
"icon": "icon-box",
"view": "views/packager/views/installed.html",
"active": installPackageUri === "installed"
"view": "views/packages/views/installed.html",
"active": installPackageUri === "installed",
"alias": "umbInstalled"
},
{
"name": "Install local",
"icon": "icon-add",
"view": "views/packager/views/install-local.html",
"active": installPackageUri === "local"
"view": "views/packages/views/install-local.html",
"active": installPackageUri === "local",
"alias": "umbInstallLocal"
}
];
$timeout(function () {
navigationService.syncTree({ tree: "packager", path: "-1" });
navigationService.syncTree({ tree: "packages", path: "-1" });
});
}

View File

@@ -16,7 +16,7 @@
<umb-editor-container>
<umb-editor-sub-views
sub-views="vm.page.navigation">
sub-views="vm.page.navigation" model="vm.page">
</umb-editor-sub-views>
</umb-editor-container>