From cda24b4fba01def0d56a36750199b2eb6468d0a6 Mon Sep 17 00:00:00 2001 From: elitsa Date: Tue, 2 Oct 2018 14:19:00 +0200 Subject: [PATCH] Updating the right path to the Packages dashboard subviews. Adding new properties and attribute to meet the new implementation standards of a section. --- .../src/views/packages/overview.controller.js | 17 ++++++++++------- .../src/views/packages/overview.html | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/packages/overview.controller.js b/src/Umbraco.Web.UI.Client/src/views/packages/overview.controller.js index 369d919b7d..42fcddaa56 100644 --- a/src/Umbraco.Web.UI.Client/src/views/packages/overview.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/packages/overview.controller.js @@ -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" }); }); } diff --git a/src/Umbraco.Web.UI.Client/src/views/packages/overview.html b/src/Umbraco.Web.UI.Client/src/views/packages/overview.html index 43f08a9882..250dc889d6 100644 --- a/src/Umbraco.Web.UI.Client/src/views/packages/overview.html +++ b/src/Umbraco.Web.UI.Client/src/views/packages/overview.html @@ -16,7 +16,7 @@ + sub-views="vm.page.navigation" model="vm.page">