Fix after merge

This commit is contained in:
Matej Bačo
2023-08-09 19:31:24 +02:00
parent 5f89e92d01
commit 4bdde47dcf
2 changed files with 4 additions and 5 deletions
@@ -14,6 +14,7 @@
import DeleteProject from './deleteProject.svelte';
import { services, type Service } from '$lib/stores/project-services';
import { CardGrid, CopyInput, Box, Heading } from '$lib/components';
import { toLocaleDateTime } from '$lib/helpers/date';
import {
Button,
Form,
@@ -35,8 +36,6 @@
let showTransfer = false;
const endpoint = sdk.forConsole.client.config.endpoint;
const projectId = $page.params.project;
let showDisableAll = false;
let showEnableAll = false;
onMount(() => {
name ??= $project.name;
@@ -88,7 +87,6 @@
await sdk.forProject.projectApi.deleteVariable(variableId);
await invalidate(Dependencies.PROJECT_VARIABLES);
}
</script>
<Container>
@@ -104,7 +102,6 @@
variableList={data.variables} />
<DeleteProject />
<CardGrid>
<Heading tag="h6" size="7">Transfer project</Heading>
<p class="text">Transfer your project to another organization that you own.</p>
@@ -153,7 +150,6 @@
{/if}
</Container>
{#if teamId}
<Transfer
bind:teamId
@@ -11,6 +11,9 @@
import EnableAllServices from './enableAllServices.svelte';
import DisableAllServices from './disableAllServices.svelte';
let showDisableAll = false;
let showEnableAll = false;
$: services.load($project);
async function serviceUpdate(service: Service) {