diff --git a/package.json b/package.json index c97e45e3..a110bc6f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "photon-lemmy", - "version": "1.3.5", + "version": "1.4.0", "private": true, "scripts": { "dev": "vite dev", diff --git a/src/lib/components/input/MultiSelect.svelte b/src/lib/components/input/Switch.svelte similarity index 73% rename from src/lib/components/input/MultiSelect.svelte rename to src/lib/components/input/Switch.svelte index 8c93a7f2..d8a369d0 100644 --- a/src/lib/components/input/MultiSelect.svelte +++ b/src/lib/components/input/Switch.svelte @@ -44,7 +44,7 @@
- {#each options.slice(0, 4) as option, index} + {#each options as option, index} {/each} - {#if options.length > 4} - - {/if}
diff --git a/src/lib/components/lemmy/comment/CommentForm.svelte b/src/lib/components/lemmy/comment/CommentForm.svelte index 7d8d5f5b..9d6749e9 100644 --- a/src/lib/components/lemmy/comment/CommentForm.svelte +++ b/src/lib/components/lemmy/comment/CommentForm.svelte @@ -2,7 +2,6 @@ import type { CommentResponse } from 'lemmy-js-client' import { getClient } from '$lib/lemmy.js' import { createEventDispatcher } from 'svelte' - import MultiSelect from '$lib/components/input/MultiSelect.svelte' import Markdown from '$lib/components/markdown/Markdown.svelte' import { profile } from '$lib/auth.js' import { toast } from 'mono-svelte' diff --git a/src/lib/components/lemmy/moderation/RemoveModal.svelte b/src/lib/components/lemmy/moderation/RemoveModal.svelte index ffdcf0f5..3a98f560 100644 --- a/src/lib/components/lemmy/moderation/RemoveModal.svelte +++ b/src/lib/components/lemmy/moderation/RemoveModal.svelte @@ -8,7 +8,7 @@ import { profile } from '$lib/auth.js' import MarkdownEditor from '$lib/components/markdown/MarkdownEditor.svelte' import { Fire, Icon, Trash } from 'svelte-hero-icons' - import MultiSelect from '$lib/components/input/MultiSelect.svelte' + import MultiSelect from '$lib/components/input/Switch.svelte' import { removalTemplate } from '$lib/components/lemmy/moderation/moderation.js' import { userSettings } from '$lib/settings.js' import { fullCommunityName } from '$lib/util.js' diff --git a/src/lib/components/markdown/MarkdownEditor.svelte b/src/lib/components/markdown/MarkdownEditor.svelte index 770ad7e4..ce21771b 100644 --- a/src/lib/components/markdown/MarkdownEditor.svelte +++ b/src/lib/components/markdown/MarkdownEditor.svelte @@ -1,6 +1,6 @@ -