Skip to content

Commit 6a473a3

Browse files
committed
fix: custom view
1 parent de348f2 commit 6a473a3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: view/page_overview_plugin_custom.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package view
22

33
import (
4+
"fmt"
45
tea "github.com/charmbracelet/bubbletea"
56
"github.com/evertras/bubble-table/table"
67
"github.com/kaytu-io/kaytu/controller"
@@ -174,7 +175,10 @@ func (m PluginCustomOverviewPage) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
174175
}
175176

176177
func (m PluginCustomOverviewPage) View() string {
177-
return ""
178+
return fmt.Sprintf("%s\n%s",
179+
m.table.View(),
180+
m.statusBar.View(),
181+
)
178182
}
179183

180184
func (m PluginCustomOverviewPage) SetApp(app *App) PluginCustomOverviewPage {

0 commit comments

Comments
 (0)