shwstppr commented on a change in pull request #290: view: notify admin to 
restart MS for non-dynamic settings
URL: https://github.com/apache/cloudstack-primate/pull/290#discussion_r410000575
 
 

 ##########
 File path: src/components/view/ListView.vue
 ##########
 @@ -266,14 +266,19 @@ export default {
       api('updateConfiguration', {
         name: record.name,
         value: this.editableValue
-      }).then(() => {
+      }).then(json => {
         this.editableValueKey = null
 
         this.$message.success('Setting Updated: ' + record.name)
-        this.$notification.warning({
-          message: 'Status',
-          description: 'Please restart your management server(s) for your new 
settings to take effect.'
-        })
+        if (json.updateconfigurationresponse &&
 
 Review comment:
   @rhtyd should be okay with 
`!json.updateconfigurationresponse.configuration.isdynamic &&`
   
   https://jsfiddle.net/shwstppr/x5undf7a/

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to