mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-06 08:01:35 +00:00
* feat(front): Rework how summaries are edited in the flow editor * feat(front): add IconOnly mode, to better handle responsivness * feat(front): Fix FlowModule summary input width * feat(front): simplify summary placeholder * feat(front): Fix minimap resizing issues + fix minimap delete
17 lines
412 B
Svelte
17 lines
412 B
Svelte
<script lang="ts">
|
|
import Badge from './common/badge/Badge.svelte'
|
|
import IconedResourceType from './IconedResourceType.svelte'
|
|
|
|
export let path: string
|
|
</script>
|
|
|
|
<div class="flex space-x-2 items-center">
|
|
{#if path.startsWith('hub/')}
|
|
<IconedResourceType name={path.split('/')[2]} silent={true} />
|
|
<span>{path}</span>
|
|
{:else}
|
|
<Badge color="blue">Workspace</Badge>
|
|
<span>{path}</span>
|
|
{/if}
|
|
</div>
|