Skip to content

Commit

Permalink
Fix storage template extension display (immich-app#2002)
Browse files Browse the repository at this point in the history
* Display correct jpg file extension

* Fix typo in template directory

* Move storage template to correct spelling
  • Loading branch information
etnoy authored Mar 15, 2023
1 parent 08ed71e commit 5483187
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
const substitutions: Record<string, string> = {
filename: 'IMAGE_56437',
ext: 'jpeg',
ext: 'jpg',
filetype: 'IMG',
filetypefull: 'IMAGE'
};
Expand Down Expand Up @@ -179,7 +179,7 @@
>
<span class="text-immich-fg/25 dark:text-immich-dark-fg/50"
>UPLOAD_LOCATION/{user.id}</span
>/{parsedTemplate()}.jpeg
>/{parsedTemplate()}.jpg
</p>

<form autocomplete="off" class="flex flex-col" on:submit|preventDefault>
Expand Down Expand Up @@ -210,7 +210,7 @@
<SettingInputField
label="EXTENSION"
inputType={SettingInputFieldType.TEXT}
value={'.jpeg'}
value={'.jpg'}
disabled
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/admin/system-settings/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import OAuthSettings from '$lib/components/admin-page/settings/oauth/oauth-settings.svelte';
import PasswordLoginSettings from '$lib/components/admin-page/settings/password-login/password-login-settings.svelte';
import SettingAccordion from '$lib/components/admin-page/settings/setting-accordion.svelte';
import StorageTemplateSettings from '$lib/components/admin-page/settings/storate-template/storage-template-settings.svelte';
import StorageTemplateSettings from '$lib/components/admin-page/settings/storage-template/storage-template-settings.svelte';
import LoadingSpinner from '$lib/components/shared-components/loading-spinner.svelte';
import { api } from '@api';
import type { PageData } from './$types';
Expand Down

0 comments on commit 5483187

Please sign in to comment.