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
This commit is contained in:
Shu Muto 2017-08-07 14:59:05 +09:00 committed by Shu Muto
parent 09080e087d
commit da213880dc
1 changed files with 1 additions and 2 deletions

View File

@ -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