mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Hide volumes tab in instance page when user does not have permission to list volumes (#8713)
This commit is contained in:
parent
836ef9ec70
commit
89231106ff
@ -33,7 +33,7 @@
|
|||||||
<router-link :to="{ path: '/iso/' + vm.isoid }">{{ vm.isoname }}</router-link> <br/>
|
<router-link :to="{ path: '/iso/' + vm.isoid }">{{ vm.isoname }}</router-link> <br/>
|
||||||
<barcode-outlined /> {{ vm.isoid }}
|
<barcode-outlined /> {{ vm.isoid }}
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane :tab="$t('label.volumes')" key="volumes">
|
<a-tab-pane :tab="$t('label.volumes')" key="volumes" v-if="'listVolumes' in $store.getters.apis">
|
||||||
<a-button
|
<a-button
|
||||||
type="primary"
|
type="primary"
|
||||||
style="width: 100%; margin-bottom: 10px"
|
style="width: 100%; margin-bottom: 10px"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user