1
0
forked from mirror/misskey
This commit is contained in:
kakkokari-gtyih 2024-06-29 21:24:13 +09:00
parent d46160b217
commit 46b5b92320

View File

@ -191,6 +191,7 @@ function applyToPreview() {
} }
const result = ref(''); const result = ref('');
function generate() { function generate() {
const _idOrUsername = props.entity === 'user-timeline' ? '@' + props.idOrUsername : props.idOrUsername; const _idOrUsername = props.entity === 'user-timeline' ? '@' + props.idOrUsername : props.idOrUsername;
result.value = getEmbedCode(`/embed/${props.entity}/${_idOrUsername}`, paramsForUrl.value); result.value = getEmbedCode(`/embed/${props.entity}/${_idOrUsername}`, paramsForUrl.value);