mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-05 00:15:03 +03:00
Fix lint errors in SyncButton
This commit is contained in:
parent
8d2fe6574d
commit
139d535b36
@ -8,15 +8,12 @@
|
|||||||
import { BaseBranchService } from '$lib/vbranches/branchStoresCache';
|
import { BaseBranchService } from '$lib/vbranches/branchStoresCache';
|
||||||
|
|
||||||
const project = getContext(Project);
|
const project = getContext(Project);
|
||||||
|
|
||||||
let cloudEnabled: boolean;
|
|
||||||
|
|
||||||
const githubService = getContext(GitHubService);
|
const githubService = getContext(GitHubService);
|
||||||
const baseBranchService = getContext(BaseBranchService);
|
const baseBranchService = getContext(BaseBranchService);
|
||||||
const baseBranch = baseBranchService.base;
|
const baseBranch = baseBranchService.base;
|
||||||
|
|
||||||
$: baseServiceBusy$ = baseBranchService.busy$;
|
$: baseServiceBusy$ = baseBranchService.busy$;
|
||||||
$: cloudEnabled = project?.api?.sync || false;
|
$: cloudEnabled = project.api?.sync || false;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Tag
|
<Tag
|
||||||
|
Loading…
Reference in New Issue
Block a user