{#if !hidePath}
{#if segments} {#each segments.dirs as dir, i (dir.fullPath)} {@const dKey = dirKey('all', dir.fullPath)}
{/each} {@const leafKey = leafKeyFor(kind, segments.leaf.fullPath)} {@const leafParent = segments.dirs[segments.dirs.length - 1]?.fullPath}
{/if}
{#if pathEditable}
pathPopoverOpen, setPathPopoverOpen} > {#snippet trigger()}
{/snippet} {#snippet content()}
{#if own}
{#if savedPath && path && path !== savedPath}
{/if} {#if onBehalfOfEmail}
This flow will be redeployed on behalf of you ({$userStore?.email}) instead of {onBehalfOfEmail}
{/if} {:else}
{path}
Only the owner can change the path
{/if}
{/snippet}
{/if}
{/if}