You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/03/05 09:40:50 UTC
[cloudstack-primate] branch master updated: offering: fix known
availability options for network offerings
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git
The following commit(s) were added to refs/heads/master by this push:
new 8146a26 offering: fix known availability options for network offerings
8146a26 is described below
commit 8146a269aec38179a073885ee4a66d7faef39484
Author: Rohit Yadav <ro...@shapeblue.com>
AuthorDate: Thu Mar 5 15:10:11 2020 +0530
offering: fix known availability options for network offerings
Fixes #188
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
---
src/config/section/offering.js | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/config/section/offering.js b/src/config/section/offering.js
index 30e67c8..a81e5a7 100644
--- a/src/config/section/offering.js
+++ b/src/config/section/offering.js
@@ -152,7 +152,12 @@ export default {
icon: 'edit',
label: 'Edit Offering',
dataView: true,
- args: ['name', 'displaytext', 'availability']
+ args: ['name', 'displaytext', 'availability'],
+ mapping: {
+ availability: {
+ options: ['Optional', 'Required']
+ }
+ }
}, {
api: 'updateNetworkOffering',
icon: 'play-circle',