mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-13 01:11:07 +09:00
fix
This commit is contained in:
parent
aab4fa9394
commit
b1100eab7a
@ -76,10 +76,12 @@ export function copyEmbedCode(entity: EmbeddableEntity, idOrUsername: string, pa
|
|||||||
copy(getEmbedCode(`/embed/${entity}/${_idOrUsername}`, _params));
|
copy(getEmbedCode(`/embed/${entity}/${_idOrUsername}`, _params));
|
||||||
os.success();
|
os.success();
|
||||||
} else {
|
} else {
|
||||||
os.popup(MkEmbedCodeGenDialog, {
|
const { dispose } = os.popup(MkEmbedCodeGenDialog, {
|
||||||
entity,
|
entity,
|
||||||
idOrUsername,
|
idOrUsername,
|
||||||
params: _params,
|
params: _params,
|
||||||
}, {}, 'closed');
|
}, {
|
||||||
|
closed: () => dispose(),
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user