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

Merge pull request #2947 from SegiH/changeCardMenuOrder

Move "Remove" option in card menu item in Dashboard->Library to the last item
This commit is contained in:
Bill Thornton 2021-09-10 10:21:14 -04:00 committed by GitHub
commit 9778f2db65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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