From 9a5fe102a7fad05643eebfc6a5ff4ef7815bbb90 Mon Sep 17 00:00:00 2001 From: Pavel Laptev Date: Mon, 19 Feb 2024 21:43:51 +0100 Subject: [PATCH] NotOnGitButlerBranch refactor - fixed screen flickering - page layout updated --- .../components/NotOnGitButlerBranch.svelte | 24 ++++--------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/gitbutler-ui/src/lib/components/NotOnGitButlerBranch.svelte b/gitbutler-ui/src/lib/components/NotOnGitButlerBranch.svelte index 4e0fc41c8..1f2cc2a50 100644 --- a/gitbutler-ui/src/lib/components/NotOnGitButlerBranch.svelte +++ b/gitbutler-ui/src/lib/components/NotOnGitButlerBranch.svelte @@ -6,7 +6,6 @@ import RemoveProjectButton from './RemoveProjectButton.svelte'; import Icon from '$lib/components/Icon.svelte'; import * as toasts from '$lib/utils/toasts'; - import { slide } from 'svelte/transition'; import type { Project, ProjectService } from '$lib/backend/projects'; import type { UserService } from '$lib/stores/user'; import type { BranchController } from '$lib/vbranches/branchController'; @@ -21,8 +20,6 @@ $: user$ = userService.user$; - let showDropDown = false; - let isDeleting = false; let deleteConfirmationModal: RemoveProjectButton; @@ -76,18 +73,7 @@ > Go back to gitbutler/integration - {#if !showDropDown} - - {/if} + {#if project} - {#if showDropDown} -
- -
- {/if} +
+ +