Skip to content

Commit c576d32

Browse files
committed
reset only domain level setting to global level value
1 parent 0cd7af6 commit c576d32

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/src/views/setting/ConfigurationValue.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,9 @@ export default {
328328
[this.scopeKey]: this.$route.params?.id,
329329
name: configrecord.name
330330
}
331+
if (this.scopeKey === 'domainid' && !params[this.scopeKey]) {
332+
params[this.scopeKey] = this.resource?.id
333+
}
331334
postAPI('resetConfiguration', params).then(json => {
332335
this.editableValue = this.getEditableValue(json.resetconfigurationresponse.configuration)
333336
this.actualValue = this.editableValue

0 commit comments

Comments
 (0)