juzhiyuan commented on a change in pull request #666:
URL: https://github.com/apache/apisix-dashboard/pull/666#discussion_r515930685



##########
File path: frontend/src/pages/Route/transform.ts
##########
@@ -152,10 +152,6 @@ export const transformRouteData = (data: RouteModule.Body) 
=> {
 
   const { plugins, script } = data;
 
-  if (plugins && plugins.prometheus) {
-    plugins.prometheus = { enabled: true };

Review comment:
       If we remove this line, and just enabled this plugin, then how about 
this plugin's status when we use Edit mode? Is it still enabled?




----------------------------------------------------------------
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]


Reply via email to