mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-28 08:04:39 +02:00
hide rename option if nothing selected
This commit is contained in:
parent
ed029b01c0
commit
d25aa6818a
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user