Skip to content

Commit 369fa96

Browse files
committed
Merge branch 'main' of github.com:ToeiRei/Keymaster
2 parents 0f80912 + 3caf08e commit 369fa96

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ui/tui/views/dashboard/model.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,21 @@ func New(c client.Client) *Model {
6060
}
6161

6262
func (m Model) Init() tea.Cmd {
63+
// TODO setup table model and table controll
6364
return m.reload()
6465
}
6566

6667
func (m *Model) Update(msg tea.Msg) tea.Cmd {
6768
if m.size.UpdateFromMsg(msg) {
69+
// TODO rerender table (only here)
6870
return nil
6971
}
7072

7173
switch msg := msg.(type) {
7274
case msgReloadResult:
7375
m.data = msg.data
7476
m.err = msg.err
77+
// TODO rerender table (only here)
7578
}
7679

7780
return nil

0 commit comments

Comments
 (0)