Parcourir la source

编辑按钮变为查看

visuddhinanda il y a 3 ans
Parent
commit
664012076a
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      dashboard/src/components/anthology/AnthologyList.tsx

+ 2 - 2
dashboard/src/components/anthology/AnthologyList.tsx

@@ -213,9 +213,9 @@ const Widget = ({
                   },
                   },
                 }}
                 }}
               >
               >
-                <Link to={`/studio/${studioName}/anthology/${row.id}/edit`}>
+                <Link to={`/anthology/${row.id}`} target="_blank">
                   {intl.formatMessage({
                   {intl.formatMessage({
-                    id: "buttons.edit",
+                    id: "buttons.view",
                   })}
                   })}
                 </Link>
                 </Link>
               </Dropdown.Button>,
               </Dropdown.Button>,