feat: Add abilitry to paste env files

This commit is contained in:
Sara Vieira
2022-04-02 23:25:55 +02:00
parent 986c5b7133
commit b80e0d15fb
8 changed files with 125 additions and 32 deletions

View File

@@ -11,7 +11,6 @@
}
};
}
return {
status: res.status,
error: new Error(`Could not load ${endpoint}`)
@@ -31,6 +30,7 @@
import Explainer from '$lib/components/Explainer.svelte';
import { errorNotification } from '$lib/form';
import { toast } from '@zerodevx/svelte-toast';
import BatchSecrets from '../secrets/_BatchSecrets.svelte';
const { id } = $page.params;
async function refreshSecrets() {
@@ -116,3 +116,4 @@
{/if}
</div>
</div>
<BatchSecrets secrets={PRMRSecrets} {id} {refreshSecrets} />