forked from mirror/misskey
lint
This commit is contained in:
parent
d46160b217
commit
46b5b92320
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user