misc: link to news' mfbc site, close #394
This commit is contained in:
1 parent
6b19b4f154
commit
c54969495b
1 file changed
+5
-2
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
export const findSource = async (
|
export const findSource = async (
|
||||||
target: string,
|
target: string,
|
||||||
dataset: any,
|
dataset: any
|
||||||
): Promise<MBFCReport | undefined> => {
|
): Promise<MBFCReport | undefined> => {
|
||||||
if (!target) return undefined
|
if (!target) return undefined
|
||||||
let left = 0
|
let left = 0
|
||||||
@@ -122,13 +122,16 @@
|
|||||||
description={$t('post.actions.mediaBias.noData.description')}
|
description={$t('post.actions.mediaBias.noData.description')}
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
|
{#if data}
|
||||||
<Link
|
<Link
|
||||||
href="https://mediabiasfactcheck.com/"
|
target="_blank"
|
||||||
|
href="https://mediabiasfactcheck.com/{data.name}"
|
||||||
class="text-sm text-slate-700 dark:text-zinc-300"
|
class="text-sm text-slate-700 dark:text-zinc-300"
|
||||||
>
|
>
|
||||||
<Icon src={Chain} micro size="14" />
|
<Icon src={Chain} micro size="14" />
|
||||||
mediabiasfactcheck.com
|
mediabiasfactcheck.com
|
||||||
</Link>
|
</Link>
|
||||||
|
{/if}
|
||||||
{/await}
|
{/await}
|
||||||
{/await}
|
{/await}
|
||||||
</Modal>
|
</Modal>
|
||||||
Reference in new issue
Block a user