Open app call

This commit is contained in:
Martin McKeaveney 2021-05-13 15:33:04 +01:00
parent fa0544054b
commit 51bdbb7878
1 changed files with 1 additions and 6 deletions

View File

@ -17,17 +17,12 @@
export let exportApp
export let deleteApp
export let last
export let appStatus
export let releaseLock
let href =
appStatus === AppStatus.DEV ? $url(`../../app/${app._id}`) : `/${app._id}`
let target = appStatus === AppStatus.DEV ? "_self" : "_target"
</script>
<div class="title" class:last>
<div class="preview" use:gradient={{ seed: app.name }} />
<Link {href} {target}>
<Link on:click={openApp}>
<Heading size="XS">
{app.name}
</Heading>