release v1.0.0
This commit is contained in:
1 parent
3d7e3a88f2
commit
888ff217f8
2 files changed
+3
-4
No files matched your search
@@ -23,10 +23,9 @@ func (m *Model) refreshUsersList() {
|
||||
desc := fmt.Sprintf("%s | группы: %v | %s", u.Status, u.Groups, fp)
|
||||
items = append(items, simpleItem{id: u.Username, title: u.Username, desc: desc})
|
||||
}
|
||||
l := list.New(items, list.NewDefaultDelegate(), m.usersList.Width(), m.usersList.Height())
|
||||
l.Title = "Пользователи [n]новый [g]группы [c]обновить конфиг [l]заблокировать [u]разблокировать [d]удалить [esc]назад"
|
||||
l.SetShowStatusBar(false)
|
||||
m.usersList = l
|
||||
m.usersList = newList(items,
|
||||
"Пользователи [n]новый [g]группы [c]обновить конфиг [l]заблокировать [u]разблокировать [d]удалить [esc]назад",
|
||||
m.usersList.Width(), m.usersList.Height())
|
||||
}
|
||||
|
||||
func (m Model) updateUsers(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user