mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-05 22:55:22 +02:00
Merge branch 'develop' of https://github.com/transfem-org/Sharkey into develop
This commit is contained in:
commit
b8a8e44905
1 changed files with 11 additions and 1 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue