Explorar o código

fix: enter dose not work with stroage editor

Yeuoly hai 8 meses
pai
achega
70d08606f5
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      cmd/commandline/plugin/permission.go

+ 0 - 3
cmd/commandline/plugin/permission.go

@@ -250,9 +250,6 @@ func (p permission) Update(msg tea.Msg) (subMenu, subMenuEvent, tea.Cmd) {
 		case "tab":
 			p.edit()
 		case "enter":
-			if p.cursor == "storage.size" {
-				break
-			}
 			if p.cursor == "endpoint.enabled" {
 				p.cursor = permissionKeySeq[0]
 				p.updateStorageSize()