Patch translation module not loaded

This commit is contained in:
Restray 2022-04-04 17:06:03 +02:00
parent 4a6062522e
commit 0ead17ab70
No known key found for this signature in database
GPG Key ID: 67C6DEF95A4DC812

View File

@ -42,6 +42,7 @@
import Redis from '$lib/components/svg/databases/Redis.svelte';
import { goto } from '$app/navigation';
import { post } from '$lib/api';
import { t } from '$lib/translations';
async function handleSubmit(type) {
try {
await post(`/databases/${id}/configuration/type.json`, { type });