fix: Small fixes

This commit is contained in:
Silentoplayz
2025-06-27 04:35:28 -04:00
parent b6e2b2e514
commit e3bacc3296
7 changed files with 7 additions and 5 deletions

View File

@@ -403,6 +403,7 @@ export const deleteUserById = async (token: string, userId: string) => {
};
type UserUpdateForm = {
role: string;
profile_image_url: string;
email: string;
name: string;

View File

@@ -248,7 +248,6 @@
bind:value={webConfig.KAGI_SEARCH_API_KEY}
/>
</div>
.
</div>
{:else if webConfig.WEB_SEARCH_ENGINE === 'mojeek'}
<div class="mb-2.5 flex w-full flex-col">

View File

@@ -854,6 +854,7 @@
</button>
{:else}
<div class="relative flex video-container w-full max-h-full pt-2 pb-4 md:py-6 px-2 h-full">
<!-- svelte-ignore a11y-media-has-caption -->
<video
id="camera-feed"
autoplay

View File

@@ -74,6 +74,7 @@
{#if show}
<!-- svelte-ignore a11y-click-events-have-key-events -->
<!-- svelte-ignore a11y-no-static-element-interactions -->
<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
<div
bind:this={modalElement}
aria-modal="true"

View File

@@ -26,7 +26,7 @@ const createIsLoadingStore = (i18n: i18nType) => {
// if loaded resources are empty || {}, set loading to true
i18n.on('loaded', (resources) => {
// console.log('loaded:', resources);
Object.keys(resources).length !== 0 && isLoading.set(false);
isLoading.set(Object.keys(resources).length === 0);
});
// if resources failed loading, set loading to true