You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/05/06 17:20:31 UTC

[GitHub] [cloudstack-primate] DaanHoogland commented on a change in pull request #313: Bootintobios

DaanHoogland commented on a change in pull request #313:
URL: https://github.com/apache/cloudstack-primate/pull/313#discussion_r420959970



##########
File path: src/config/section/compute.js
##########
@@ -104,7 +104,8 @@ export default {
           icon: 'reload',
           label: 'label.action.reboot.instance',
           dataView: true,
-          show: (record) => { return ['Running'].includes(record.state) }
+          show: (record) => { return ['Running'].includes(record.state) },
+          args: ['bootintosetup']

Review comment:
       @shwstppr , I should be able to replace this with
   ```
   args: (record) -> { return record.hypervisorType === 'vmware' ? ['bootintosetup'] : [] }
   ```
   am I? It seems not to work. How can I find what to use as parameter of the anonymous function and what attributes it has?
   
   tnx




----------------------------------------------------------------
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:
users@infra.apache.org