2
0
visuddhinanda 5 сар өмнө
parent
commit
90448343e9

+ 14 - 1
dashboard-v4/dashboard/src/components/channel/ChannelMy.tsx

@@ -10,6 +10,7 @@ import {
   Select,
   Select,
   Skeleton,
   Skeleton,
   Space,
   Space,
+  Tag,
   Tooltip,
   Tooltip,
   Tree,
   Tree,
 } from "antd";
 } from "antd";
@@ -450,7 +451,12 @@ const ChannelMy = ({
                       <Button type="link">
                       <Button type="link">
                         <Space>
                         <Space>
                           <StudioName data={node.channel.studio} hideName />
                           <StudioName data={node.channel.studio} hideName />
-                          {node.channel.title}
+                          <>{node.channel.title}</>
+                          <Tag>
+                            {intl.formatMessage({
+                              id: `channel.type.${node.channel.type}.label`,
+                            })}
+                          </Tag>
                         </Space>
                         </Space>
                       </Button>
                       </Button>
                     </div>
                     </div>
@@ -471,6 +477,13 @@ const ChannelMy = ({
                               }),
                               }),
                               icon: <CopyOutlined />,
                               icon: <CopyOutlined />,
                             },
                             },
+                            {
+                              key: "import",
+                              label: intl.formatMessage({
+                                id: "buttons.import",
+                              }),
+                              icon: <CopyOutlined />,
+                            },
                             {
                             {
                               key: "statistic",
                               key: "statistic",
                               label: intl.formatMessage({
                               label: intl.formatMessage({