mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
ui: fix snapshot copy actions for non-rootadmins (#8164)
Fixes Snapshot copy, zone delete option not showing in UI for non-rootadmin roles Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
5362bad442
commit
2dac6cb674
@ -60,7 +60,7 @@
|
||||
</template>
|
||||
<template v-if="column.key === 'actions'">
|
||||
<tooltip-button
|
||||
v-if="record.datastoretype==='Image' && record.state==='BackedUp'"
|
||||
v-if="record.state==='BackedUp'"
|
||||
style="margin-right: 5px"
|
||||
:disabled="!(copyApi in $store.getters.apis)"
|
||||
:title="$t('label.action.copy.snapshot')"
|
||||
@ -68,7 +68,7 @@
|
||||
:loading="copyLoading"
|
||||
@onClick="showCopySnapshot(record)" />
|
||||
<tooltip-button
|
||||
v-if="record.datastoretype==='Image' && record.state==='BackedUp'"
|
||||
v-if="record.state==='BackedUp'"
|
||||
style="margin-right: 5px"
|
||||
:disabled="!(deleteApi in $store.getters.apis)"
|
||||
:title="$t('label.action.delete.snapshot')"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user