{#if $workspaceStore != currentWorkspaceId}
You are currently seeing the deployement page of workspace {currentWorkspaceInfo?.name} ({currentWorkspaceInfo?.id}) which is not your currently selected workspace.
Click here to go home ({$workspaceStore})
{/if}
{#if comparison}
{@const selectedConflicts = conflictingDiffs.filter((e) =>
selectedItems.includes(getItemKey(e))
).length}
{#if conflictingDiffs.length > 0}
{conflictingDiffs.length} item{conflictingDiffs.length !== 1 ? 's have' : ' has'} conflicting
changes, it was modified on the original workspace while changes were made on this fork. Make
sure to resolve these before merging.
{/if}
{#if hasBehindChanges && hasAheadChanges}
You have items behind '{parentWorkspaceId}'. You need to update and test your changes before
being able to deploy.
Override: Deploy despite {itemsWithBehindChanges.length} outdated item{itemsWithBehindChanges.length !==
1
? 's'
: ''}
{/if}
{#if !comparison.all_ahead_items_visible || !comparison.all_behind_items_visible}
{#if !comparison.all_ahead_items_visible && !comparison.all_behind_items_visible}
This fork is ahead and behind its parent
{:else if !comparison.all_behind_items_visible}
This fork is behind of its parent
{:else if !comparison.all_ahead_items_visible}
This fork is ahead of its parent
{/if}
and some of the changes are not visible by you. Only a user with access to the whole context
may deploy or update this fork. You can share the link to this page to someone with proper permissions
to get it deployed.
{/if}