diff --git a/ui/src/components/view/ListView.vue b/ui/src/components/view/ListView.vue index 35f68b55066..1f56dc1027c 100644 --- a/ui/src/components/view/ListView.vue +++ b/ui/src/components/view/ListView.vue @@ -196,7 +196,7 @@ {{ item.account + '(' + item.user + ')' }} - {{ item.account }} + {{ item.account }} {{ item.user ? item.account + '(' + item.user + ')' : item.account }} @@ -207,7 +207,7 @@ v-if="'quota' in record && $router.resolve(`${$route.path}/${record.account}`) !== '404'" :to="{ path: `${$route.path}/${record.account}`, query: { account: record.account, domainid: record.domainid, quota: true } }">{{ text }} {{ text }} - {{ text }} + {{ text }} {{ text }} diff --git a/ui/src/config/router.js b/ui/src/config/router.js index 43a2da5b6e8..1b1ad0c2a06 100644 --- a/ui/src/config/router.js +++ b/ui/src/config/router.js @@ -131,7 +131,7 @@ function generateRouterMap (section) { map.meta.actions = section.actions map.meta.filters = section.filters map.meta.treeView = section.treeView ? section.treeView : false - map.meta.tabs = section.treeView ? section.tabs : {} + map.meta.tabs = section.tabs map.children = [{ path: '/' + section.name + '/:id', diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue index ecb5c702119..0b8fa23e7f6 100644 --- a/ui/src/views/AutogenView.vue +++ b/ui/src/views/AutogenView.vue @@ -528,7 +528,7 @@ export default { this.projectView = Boolean(store.getters.project && store.getters.project.id) - if (this.$route && this.$route.params && this.$route.params.id) { + if ((this.$route && this.$route.params && this.$route.params.id) || this.$route.query.dataView) { this.dataView = true if (!refreshed) { this.resource = {}