primate: minor changes per testing recommendations

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2020-02-08 14:54:36 +05:30
parent f2d2e03a6c
commit c599b2fc11
4 changed files with 11 additions and 6 deletions

View File

@ -29,7 +29,7 @@
</div>
</a-list-item>
<DedicateData :resource="resource" v-if="dedicatedSectionActive" />
<VmwareData :resource="resource" v-if="$route.meta.name === 'zone'" />
<VmwareData :resource="resource" v-if="$route.meta.name === 'zone' && 'listVmwareDcs' in $store.getters.apis" />
</a-list>
</template>

View File

@ -33,6 +33,7 @@
</span>
</template>
<!--
<div slot="expandedRowRender" slot-scope="resource">
<info-card :resource="resource" style="margin-left: 0px; width: 50%">
<div slot="actions" style="padding-top: 12px">
@ -57,6 +58,7 @@
</div>
</info-card>
</div>
-->
<a slot="name" slot-scope="text, record" href="javascript:;">
<div style="min-width: 120px">

View File

@ -38,7 +38,7 @@
</template>
<a
v-if="item.meta.docHelp"
style="margin-right: 10px"
style="margin-right: 12px"
:href="docBase + '/' + $route.meta.docHelp"
target="_blank">
<a-icon type="question-circle-o"></a-icon>

View File

@ -28,11 +28,12 @@
<a-button
style="margin-top: 4px"
:loading="loading"
shape="circle"
shape="round"
size="small"
type="dashed"
icon="reload"
@click="fetchData()" />
@click="fetchData()">
{{ "Refresh" }}
</a-button>
</a-tooltip>
</breadcrumb>
</a-col>
@ -47,10 +48,11 @@
:resource="resource"
@exec-action="execAction"/>
<a-input-search
style="width: 25vw; margin-left: 10px"
style="width: 20vw; margin-left: 10px"
placeholder="Search"
v-model="searchQuery"
v-if="!dataView && !treeView"
allowClear
@search="onSearch" />
</span>
</a-col>
@ -229,6 +231,7 @@
@change="changePage"
@showSizeChange="changePageSize"
showSizeChanger
showQuickJumper
v-if="!treeView" />
<tree-view
v-if="treeView"