LiteSun commented on code in PR #2704:
URL: https://github.com/apache/apisix-dashboard/pull/2704#discussion_r1081381117


##########
web/src/pages/Route/List.tsx:
##########
@@ -550,6 +551,13 @@ const Page: React.FC = () => {
     {
       title: formatMessage({ id: 'menu.plugin' }),
       dataIndex: 'plugins',
+      width: 240,
+      render: (_, record) => {
+        const plugins = record.plugins || {};
+        return Object.keys(plugins).length > 0
+          ? Object.keys(plugins).map((key) => <Tag key={key}> {key}</Tag>)

Review Comment:
   ```suggestion
             ? Object.keys(plugins).map((key) => <Tag key={key}>{key}</Tag>)
   ```



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

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to