Merge branch 'develop' of https://github.com/transfem-org/Sharkey into develop

This commit is contained in:
Mar0xy 2023-09-22 00:22:49 +02:00
commit b8a8e44905
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -165,10 +165,20 @@ const remoteMenu = (emoji, ev: MouseEvent) => {
os.popupMenu([{
type: 'label',
text: ':' + emoji.name + ':',
}, {
},
{
text: i18n.ts.import,
icon: 'ti ti-plus',
action: () => { im(emoji); },
},
{
text: i18n.ts.delete,
icon: "ti ti-trash",
action: () => {
os.apiWithDialog("admin/emoji/delete", {
id: emoji.id,
});
},
}], ev.currentTarget ?? ev.target);
};