mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 08:20:10 +00:00
fix(frontend): URLプレビューのto/hrefがない問題を修正
Fix of 9ae577871b (diff-cfa02e203bdbd03dbf312a889f009ca7f9ebd8376334ebd74c4961b716b22d93)
This commit is contained in:
parent
831c74a25b
commit
40bb6069ec
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ const MOBILE_THRESHOLD = 500;
|
|||
const isMobile = ref(deviceKind === 'smartphone' || window.innerWidth <= MOBILE_THRESHOLD);
|
||||
|
||||
const self = props.url.startsWith(local);
|
||||
const attr = self ? 'to' : 'href';
|
||||
const target = self ? null : '_blank';
|
||||
const fetching = ref(true);
|
||||
const title = ref<string | null>(null);
|
||||
|
|
Loading…
Reference in a new issue