1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix Issue #2779 by making "Remove" card menu item in Dashboard->Library->Context menu as the last item in the context menu.

This commit is contained in:
Segi 2021-09-09 21:09:57 -07:00
parent 247d3f23e6
commit 8ac9c65e97

View file

@ -103,11 +103,6 @@ import cardBuilder from '../../components/cardbuilder/cardBuilder';
id: 'edit',
icon: 'folder'
});
menuItems.push({
name: globalize.translate('ButtonRemove'),
id: 'delete',
icon: 'delete'
});
menuItems.push({
name: globalize.translate('ButtonRename'),
id: 'rename',
@ -118,6 +113,11 @@ import cardBuilder from '../../components/cardbuilder/cardBuilder';
id: 'refresh',
icon: 'refresh'
});
menuItems.push({
name: globalize.translate('ButtonRemove'),
id: 'delete',
icon: 'delete'
});
import('../../components/actionSheet/actionSheet').then((actionsheet) => {
actionsheet.show({