Skip to content

Commit 2424ddc

Browse files
committed
Bug 1967851 - bug created for failure line must be used in task annotation
1 parent 59879b1 commit 2424ddc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/shared/tabs/failureSummary/FailureSummaryTab.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ class FailureSummaryTab extends React.Component {
8484
}));
8585
};
8686

87-
bugFilerCallback = (data) => {
87+
bugFilerCallback = async (data) => {
8888
const { addBug } = this.props;
8989

90-
addBug({ id: data.id, newBug: data.id });
90+
await addBug({ id: data.id, newBug: data.id });
9191
window.dispatchEvent(new CustomEvent(thEvents.saveClassification));
9292
// Open the newly filed bug in a new tab or window for further editing
9393
window.open(data.url);

0 commit comments

Comments
 (0)