You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-07-07 06:16:05 +02:00
chore(web): simpler unique ID generation (#9945)
This commit is contained in:
@ -18,8 +18,8 @@
|
||||
import { shortcuts } from '$lib/actions/shortcut';
|
||||
import { clickOutside } from '$lib/actions/click-outside';
|
||||
import { focusOutside } from '$lib/actions/focus-outside';
|
||||
import { generateId } from '$lib/utils/generate-id';
|
||||
import CircleIconButton from '$lib/components/elements/buttons/circle-icon-button.svelte';
|
||||
import { uniqueIdStore } from '$lib/stores/unique-id.store';
|
||||
|
||||
export let label: string;
|
||||
export let hideLabel = false;
|
||||
@ -30,7 +30,7 @@
|
||||
/**
|
||||
* Unique identifier for the combobox.
|
||||
*/
|
||||
let id: string = uniqueIdStore.generateId();
|
||||
let id: string = generateId();
|
||||
/**
|
||||
* Indicates whether or not the dropdown autocomplete list should be visible.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user