mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 16:52:31 +00:00
fix merging embedding options with default ones, closes #39
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import { onMount } from 'svelte';
|
||||
import Embedding from '$lib/components/embedding/Embedding.svelte';
|
||||
import {
|
||||
getDefaultEmbeddingOptions,
|
||||
getMergedEmbeddingOptions,
|
||||
type EmbeddingOptions
|
||||
} from '$lib/components/embedding/Embedding';
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
if (options === null) {
|
||||
return;
|
||||
}
|
||||
embeddingOptions = Object.assign(getDefaultEmbeddingOptions(), options);
|
||||
embeddingOptions = getMergedEmbeddingOptions(options);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user