Skip to content

Commit

Permalink
[TestRun] Fix row reload on add_comment
Browse files Browse the repository at this point in the history
  • Loading branch information
somenewacc committed Sep 4, 2023
1 parent 0dbcc40 commit 604d07c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tcms/testruns/static/testruns/js/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,7 @@ export function pageTestrunsGetReadyHandler () {

selected.executionIds.forEach(executionId => {
jsonRPC('TestExecution.add_comment', [executionId, comment], () => {
const testExecutionRow = $(`.test-execution-${executionId}`)
animate(testExecutionRow, () => {
delete expandedExecutionIds[expandedExecutionIds.indexOf(executionId)]
})
reloadRowFor(allExecutions[executionId])
})
})

Expand Down

0 comments on commit 604d07c

Please sign in to comment.