mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-07-14 15:40:37 +03:00
refactor: Use normalizeBranchName in ActiveBranchStatus component for virtual branch names (#4225)
This commit is contained in:
parent
be6eaa3156
commit
400381b8b4
@ -1,5 +1,6 @@
|
||||
<script lang="ts">
|
||||
import Button from '$lib/shared/Button.svelte';
|
||||
import { normalizeBranchName } from '$lib/utils/branch';
|
||||
import { getContextStore } from '$lib/utils/context';
|
||||
import { openExternalUrl } from '$lib/utils/url';
|
||||
import { BaseBranch, Branch } from '$lib/vbranches/types';
|
||||
@ -52,7 +53,7 @@
|
||||
disabled
|
||||
help="Branch name that will be used when pushing. You can change it from the lane menu."
|
||||
>
|
||||
{isLaneCollapsed ? 'View branch' : $branch.displayName}
|
||||
{normalizeBranchName($branch.displayName)}
|
||||
</Button>
|
||||
{/if}
|
||||
{:else}
|
||||
|
Loading…
Reference in New Issue
Block a user