add logs border title

Kujtim Hoxha created

Change summary

internal/tui/components/logs/table.go | 7 +++++++
1 file changed, 7 insertions(+)

Detailed changes

internal/tui/components/logs/table.go 🔗

@@ -19,6 +19,7 @@ type TableComponent interface {
 	layout.Focusable
 	layout.Sizeable
 	layout.Bindings
+	layout.Bordered
 }
 
 var logger = logging.Get()
@@ -27,6 +28,12 @@ type tableCmp struct {
 	table table.Model
 }
 
+func (i *tableCmp) BorderText() map[layout.BorderPosition]string {
+	return map[layout.BorderPosition]string{
+		layout.TopLeftBorder: "Logs",
+	}
+}
+
 type selectedLogMsg logging.LogMessage
 
 func (i *tableCmp) Init() tea.Cmd {