You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/09/17 01:07:28 UTC

[GitHub] [cloudstack] utchoang commented on a change in pull request #5454: [UI] Fixes: edit tariff quota and allow user driven backups parameter in Import Backup Offering

utchoang commented on a change in pull request #5454:
URL: https://github.com/apache/cloudstack/pull/5454#discussion_r710625835



##########
File path: ui/src/views/offering/ImportBackupOffering.vue
##########
@@ -167,7 +167,7 @@ export default {
             params[key] = input
           }
         }
-        params.allowuserdrivenbackups = values.allowuserdrivenbackups ? values.allowuserdrivenbackups : true
+        params.allowuserdrivenbackups = values.allowuserdrivenbackups == null ? true : values.allowuserdrivenbackups

Review comment:
       @SadiJr You can edit the following instead of your condition:
   1. `v-decorator="['allowuserdrivenbackups', { initialValue: true }]"` in template `form-item`
   2. `params.allowuserdrivenbackups = values.allowuserdrivenbackups` in `params`




-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org