Fix: fix the typo error in vela top (#5982)

This commit is contained in:
Siege Lion
2023-05-12 22:41:41 +08:00
committed by GitHub
parent c56820a164
commit d19bb89ce7
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -48,7 +48,6 @@ func (m *Menu) StackPop(_, new model.View) {
} else {
m.UpdateMenu(new.Hint())
}
}
// StackPush change itself when accept "push" notify from app's main view
+1 -1
View File
@@ -134,7 +134,7 @@ func (v *ApplicationView) Title() string {
func (v *ApplicationView) bindKeys() {
v.Actions().Delete([]tcell.Key{tcell.KeyEnter})
v.Actions().Add(model.KeyActions{
tcell.KeyESC: model.KeyAction{Description: "Exist", Action: v.app.Exist, Visible: true, Shared: true},
tcell.KeyESC: model.KeyAction{Description: "Exit", Action: v.app.Exist, Visible: true, Shared: true},
tcell.KeyEnter: model.KeyAction{Description: "Managed Resource", Action: v.managedResourceView, Visible: true, Shared: true},
component.KeyN: model.KeyAction{Description: "Select Namespace", Action: v.namespaceView, Visible: true, Shared: true},
component.KeyY: model.KeyAction{Description: "Yaml", Action: v.yamlView, Visible: true, Shared: true},