소스 검색

fix: enter dose not work with stroage editor

Yeuoly 8 달 전
부모
커밋
70d08606f5
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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()