nic-chen commented on a change in pull request #1592:
URL: https://github.com/apache/apisix-dashboard/pull/1592#discussion_r594248185



##########
File path: api/internal/handler/schema/plugin.go
##########
@@ -90,11 +65,9 @@ func (h *Handler) Plugins(c droplet.Context) (interface{}, 
error) {
        var ret []string
        list := plugins.Map()
        for pluginName := range list {
-               if res, ok := conf.Plugins[pluginName]; !ok || !res {
-                       continue
+               if pluginName != "serverless-post-function" && pluginName != 
"serverless-pre-function" {
+                       ret = append(ret, pluginName)

Review comment:
       fixed.




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