feat: Pop out all apps (#2346)

This commit is contained in:
Bruno Quaresma
2022-06-17 12:36:48 +00:00
committed by GitHub
parent 9fdee5d391
commit 3415b9daef
+9 -1
View File
@@ -16,7 +16,15 @@ export const AppLink: FC<AppLinkProps> = ({ userName, workspaceName, appName, ap
const href = `/@${userName}/${workspaceName}/apps/${appName}`
return (
<Link href={href} target="_blank" className={styles.link}>
<Link
href={href}
target="_blank"
className={styles.link}
onClick={(event) => {
event.preventDefault()
window.open(href, appName, "width=900,height=600")
}}
>
<img
className={combineClasses([styles.icon, appIcon === "" ? "empty" : ""])}
alt={`${appName} Icon`}