We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a283a54 commit cdf042bCopy full SHA for cdf042b
frontend/src/lib/components/flows/map/MapItem.svelte
@@ -16,7 +16,6 @@
16
} from '@fortawesome/free-solid-svg-icons'
17
import Icon from 'svelte-awesome'
18
import IconedResourceType from '$lib/components/IconedResourceType.svelte'
19
- import IconedPath from '$lib/components/IconedPath.svelte'
20
21
export let mod: FlowModule
22
@@ -115,7 +114,7 @@
115
114
<Icon data={faLongArrowDown} scale={0.8} />
116
{:else if mod.value.type === 'script'}
117
{#if mod.value.path.startsWith('hub/')}
118
- <IconedPath path={mod.value.path} />
+ <IconedResourceType name={mod.value.path.split('/')[2]} silent={true} />
119
{:else}
120
<Icon data={faBuilding} scale={0.8} />
121
{/if}
0 commit comments