From d25aa6818a643e9c4cc5d1517e5d4fd4fa314e4f Mon Sep 17 00:00:00 2001 From: joshuaboud Date: Wed, 15 Dec 2021 17:41:43 -0400 Subject: [PATCH] hide rename option if nothing selected --- navigator/components/NavContextMenu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/navigator/components/NavContextMenu.js b/navigator/components/NavContextMenu.js index bd23fe2..a7846c4 100644 --- a/navigator/components/NavContextMenu.js +++ b/navigator/components/NavContextMenu.js @@ -170,6 +170,7 @@ export class NavContextMenu { this.menu_options["cut"].style.display = "none"; this.menu_options["delete"].style.display = "none"; this.menu_options["download"].style.display = "none"; + this.menu_options["rename"].style.display = "none"; } if (this.nav_window_ref.selected_entries.size > 1) { this.menu_options["rename"].style.display = "none";