mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 22:22:51 +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));
|
||||
os.success();
|
||||
} else {
|
||||
os.popup(MkEmbedCodeGenDialog, {
|
||||
const { dispose } = os.popup(MkEmbedCodeGenDialog, {
|
||||
entity,
|
||||
idOrUsername,
|
||||
params: _params,
|
||||
}, {}, 'closed');
|
||||
}, {
|
||||
closed: () => dispose(),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user