From 8ac9c65e9725b03d78b0b5a2e20285f89a3345c5 Mon Sep 17 00:00:00 2001 From: Segi Date: Thu, 9 Sep 2021 21:09:57 -0700 Subject: [PATCH] Fix Issue #2779 by making "Remove" card menu item in Dashboard->Library->Context menu as the last item in the context menu. --- src/controllers/dashboard/library.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/controllers/dashboard/library.js b/src/controllers/dashboard/library.js index b7d1700ba6..7248d5603d 100644 --- a/src/controllers/dashboard/library.js +++ b/src/controllers/dashboard/library.js @@ -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({