File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -479,8 +479,7 @@ export default {
479479 parentSearch: this .onSearch ,
480480 parentChangeFilter: this .changeFilter ,
481481 parentChangeResource: this .changeResource ,
482- parentPollActionCompletion: this .pollActionCompletion ,
483- parentEditTariffAction : () => {}
482+ parentPollActionCompletion: this .pollActionCompletion
484483 }
485484 },
486485 data () {
Original file line number Diff line number Diff line change 8080 <a-form-item >
8181 <tooltip-label slot =" label" :title =" $t('label.allowuserdrivenbackups')" :tooltip =" apiParams.allowuserdrivenbackups.description" />
8282 <a-switch
83- v-decorator =" ['allowuserdrivenbackups']"
83+ v-decorator =" ['allowuserdrivenbackups', { initialValue: true } ]"
8484 :default-checked =" true" />
8585 </a-form-item >
8686 <div :span =" 24" class =" action-button" >
@@ -169,7 +169,7 @@ export default {
169169 params[key] = input
170170 }
171171 }
172- params .allowuserdrivenbackups = values .allowuserdrivenbackups ? values . allowuserdrivenbackups : true
172+ params .allowuserdrivenbackups = values .allowuserdrivenbackups
173173 this .loading = true
174174 const title = this .$t (' label.import.offering' )
175175 api (' importBackupOffering' , params).then (json => {
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ export default {
122122 }
123123 this .parentFetchData ()
124124 }
125-
125+ this . $message . success ( ` ${ this . $t ( ' message.setting.updated ' ) } ${ this . resource . description } ` )
126126 this .onClose ()
127127 }).catch (error => {
128128 this .$notification .error ({
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ export default {
3737 },
3838 data () {
3939 return {
40- tariffAction: false ,
41- tariffResource: {}
40+ tariffAction: this . tariffAction ,
41+ tariffResource: this . tariffResource
4242 }
4343 },
4444 provide : function () {
@@ -54,6 +54,7 @@ export default {
5454 showTariffAction (showAction , resource ) {
5555 this .tariffAction = showAction
5656 this .tariffResource = resource
57+ this .loading = false
5758 }
5859 }
5960}
You can’t perform that action at this time.
0 commit comments