diff --git a/src/composables/useMediaSourceSearch.ts b/src/composables/useMediaSourceSearch.ts index b5970d2..a74e6ac 100644 --- a/src/composables/useMediaSourceSearch.ts +++ b/src/composables/useMediaSourceSearch.ts @@ -42,13 +42,13 @@ export function useMediaSourceSearch() { return console.error("error on fetching freqml mediaSources"); } const WordformData = mediaSourceData.Blocks[0]?.Items ?? []; - WordformData.forEach(({ frq, Word, rel }) => { + WordformData.forEach(({ frq, Word, reltt }) => { query.data.mediaSources.push({ // @ts-ignore media: Word[0].n, // todo absolute is here actually also a frequency absolute: frq, - relative: rel, + relative: reltt, }); }); diff --git a/src/composables/useRegionsSearch.ts b/src/composables/useRegionsSearch.ts index a2f3dae..8e58d6f 100644 --- a/src/composables/useRegionsSearch.ts +++ b/src/composables/useRegionsSearch.ts @@ -42,7 +42,7 @@ export function useRegionsSearch() { ).Items.map((regionalData: FreqMLRegion) => ({ region: regionalData.Word[0]?.n as unknown as Region, absolute: escapeZeroSafe(regionalData.frq), - relative: escapeZeroSafe(regionalData.rel), + relative: escapeZeroSafe(regionalData.reltt), })); query.loading.regionalFrequencies = false;