From da213880dca759baa7405440a8d95bc82e5fdda5 Mon Sep 17 00:00:00 2001 From: Shu Muto Date: Mon, 7 Aug 2017 14:59:05 +0900 Subject: [PATCH] Reproduce navigations Details view does not reproduce side menu and breadcrumb properly by refreshing or linking directory. This patch fixes this issue. Change-Id: I13d9c8381a429caf7e7f4c984a7128faa764ad12 Closes-Bug: #1746706 Depends-On: I2edd44e55eb10114e5282cec1762e9635881f733 --- .../static/dashboard/container/containers/containers.module.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zun_ui/static/dashboard/container/containers/containers.module.js b/zun_ui/static/dashboard/container/containers/containers.module.js index 9f85918..e44c8d3 100644 --- a/zun_ui/static/dashboard/container/containers/containers.module.js +++ b/zun_ui/static/dashboard/container/containers/containers.module.js @@ -83,9 +83,8 @@ function run(registry, zun, basePath, resourceType, containerService) { registry.getResourceType(resourceType) .setNames(gettext('Container'), gettext('Containers')) - // for detail summary view on table row. .setSummaryTemplateUrl(basePath + 'details/drawer.html') - // for table row items and detail summary view. + .setDefaultIndexUrl('/project/container/containers/') .setProperties(containerProperties()) .setListFunction(containerService.getContainersPromise) .tableColumns