Skip to content

Commit

Permalink
Reset table rows
Browse files Browse the repository at this point in the history
  • Loading branch information
canack committed Jan 2, 2024
1 parent 6242d59 commit becffd8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/terminal/handler/ghtrigger/ghtrigger.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ func (m *ModelGithubTrigger) syncWorkflowContent() {
fmt.Sprintf("[%s@%s] Fetching workflow contents...",
m.SelectedRepository.RepositoryName, m.SelectedRepository.BranchName))

// reset table rows
m.tableTrigger.SetRows([]table.Row{})

workflowContent, err := m.githubUseCase.InspectWorkflow(context.Background(), gu.InspectWorkflowInput{
Repository: m.SelectedRepository.RepositoryName,
Branch: m.SelectedRepository.BranchName,
Expand Down

0 comments on commit becffd8

Please sign in to comment.