GabrielBrascher commented on a change in pull request #874: URL: https://github.com/apache/cloudstack-primate/pull/874#discussion_r533431454
########## File path: src/config/section/infra/primaryStorages.js ########## @@ -63,6 +63,24 @@ export default { dataView: true, args: ['name', 'tags', 'capacitybytes', 'capacityiops'] }, + { + api: 'updateStoragePool', + icon: 'pause-circle', + label: 'label.disable.storage', + message: 'message.confirm.disable.storage', + dataView: true, + defaultArgs: { enabled: false }, + show: (record) => { return ['Up', 'Connecting', 'Down', 'ErrorInMaintenance'].includes(record.state) } Review comment: I think that it makes sence to disable on other cases as well. But currently the backend supports **only** if the pool is Up, I will update this on a couple of minutes. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org