🔨 chore: remove badge count in applied branches component

This commit is contained in:
Mattias Granlund 2023-11-29 21:17:25 +01:00
parent 55f6130a95
commit 1c2073b980

View File

@ -20,7 +20,6 @@
import Tooltip from '$lib/components/Tooltip.svelte';
import Tag from '../components/Tag.svelte';
import * as toasts from '$lib/utils/toasts';
import Badge from '$lib/components/Badge.svelte';
export let vbranchService: VirtualBranchService;
export let branchService: BranchService;
@ -35,7 +34,6 @@
const userSettings = getContext<SettingsStore>(SETTINGS_CONTEXT);
$: base$ = baseBranchService.base$;
$: branches$ = vbranchService.activeBranches$;
let stashExpanded = true;
let branchesExpanded = true;
@ -67,7 +65,6 @@
<path d="M5 12V8.44444V4" stroke="white" stroke-width="2" />
</svg>
<span>Applied branches</span>
<Badge count={$branches$?.length} />
{#if ($base$?.behind || 0) > 0}
<Tooltip label="Merge upstream commits into common base">
<Tag