Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Abhishek Kumar 2020-02-10 16:20:19 +05:30 committed by Rohit Yadav
parent 2ff0d2d951
commit ca7731fe41
2 changed files with 1 additions and 2 deletions

View File

@ -650,7 +650,6 @@ export default {
if (err) {
return
}
console.log(values)
var params = {
issystem: false,
name: values.name,

View File

@ -24,7 +24,7 @@
layout="vertical">
<a-form-item :label="$t('ispublic')" v-show="this.isAdmin()">
<a-switch v-decorator="['ispublic']" :checked="this.offeringIsPublic" @change="val => { this.offeringIsPublic = val }" />
<a-switch v-decorator="['ispublic', {initialValue: this.isPublic}]" :defaultChecked="this.offeringIsPublic" @change="val => { this.offeringIsPublic = val }" />
</a-form-item>
<a-form-item :label="$t('domainid')" v-if="!this.offeringIsPublic">