hide rename option if nothing selected

This commit is contained in:
joshuaboud 2021-12-15 17:41:43 -04:00
parent ed029b01c0
commit d25aa6818a
No known key found for this signature in database
GPG Key ID: 17EFB59E2A8BF50E

View File

@ -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";