ソースを参照

feat: add app website info in details tab

Nicolas Meienberger 2 年 前
コミット
f2b33965e1
1 ファイル変更8 行追加0 行削除
  1. 8 0
      src/client/modules/Apps/components/AppDetailsTabs.tsx

+ 8 - 0
src/client/modules/Apps/components/AppDetailsTabs.tsx

@@ -47,6 +47,14 @@ export const AppDetailsTabs: React.FC<IProps> = ({ info }) => (
             ))}
           </DataGridItem>
         )}
+        {info.website && (
+          <DataGridItem title="Website">
+            <a target="_blank" rel="noreferrer" className="text-blue-500 text-xs" href={info.website}>
+              {info.website}
+              <IconExternalLink size={15} className="ms-1 mb-1" />
+            </a>
+          </DataGridItem>
+        )}
       </DataGrid>
     </TabsContent>
   </Tabs>