Skip to content

Commit

Permalink
Fixes in the status panel.
Browse files Browse the repository at this point in the history
  • Loading branch information
Macmod committed Nov 19, 2024
1 parent 3b75fb7 commit 423b1c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tui/explorer.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ func openAddMemberToGroupForm(targetDN string, isGroup bool) {

objectNameFormItem.SetPlaceholder("sAMAccountName or DN")
assignInputFieldTheme(objectNameFormItem)
assignInputFieldTheme(groupDNFormItem)

objectDNFormItem := addMemberForm.GetFormItemByLabel("Object DN").(*tview.TextView)
objectDNFormItem.SetDynamicColors(true)
Expand Down
2 changes: 1 addition & 1 deletion tui/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ func setupLDAPConn() error {
updateLog(fmt.Sprint(err), "red")
} else {
updateLog("Connection success", "green")
updateStateBox(tlsPanel, Ldaps)

var bindType string
if tlsConfig.Certificates != nil {
Expand Down Expand Up @@ -532,7 +533,6 @@ func SetupApp() {
app.EnableMouse(true)
app.SetInputCapture(appKeyHandler)

updateStateBox(tlsPanel, Ldaps)
updateStateBox(statusPanel, true)
updateStateBox(formatFlagPanel, FormatAttrs)
updateStateBox(colorFlagPanel, Colors)
Expand Down

0 comments on commit 423b1c7

Please sign in to comment.