Browse Source

fix: enter dose not work with stroage editor

Yeuoly 8 months ago
parent
commit
70d08606f5
1 changed files with 0 additions and 3 deletions
  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":
 		case "tab":
 			p.edit()
 			p.edit()
 		case "enter":
 		case "enter":
-			if p.cursor == "storage.size" {
-				break
-			}
 			if p.cursor == "endpoint.enabled" {
 			if p.cursor == "endpoint.enabled" {
 				p.cursor = permissionKeySeq[0]
 				p.cursor = permissionKeySeq[0]
 				p.updateStorageSize()
 				p.updateStorageSize()