Skip to content

Commit 9a79249

Browse files
Clearing our comment field once a comment is added
Signed-off-by: Steve Springett <[email protected]>
1 parent c4f9483 commit 9a79249

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/views/portfolio/projects/ProjectFindings.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@
348348
if (this.comment != null) {
349349
this.callRestEndpoint(this.analysisState, this.analysisJustification, this.analysisResponse, this.analysisDetails, this.comment, null);
350350
}
351+
this.comment = null;
351352
},
352353
callRestEndpoint: function(analysisState, analysisJustification, analysisResponse, analysisDetails, comment, isSuppressed) {
353354
let url = `${this.$api.BASE_URL}/${this.$api.URL_ANALYSIS}`;

0 commit comments

Comments
 (0)