Skip to content
Snippets Groups Projects

Resolve "Mark commented lines when feedback is hidden"

Merged Dominik Seeger requested to merge 160-mark-commented-lines-when-feedback-is-hidden into master
@@ -8,7 +8,7 @@
<template slot="table-content" id='sub-lines'>
<tr v-for="(code, lineNo) in submission" :key="`${submissionObj.pk}${lineNo}`" :id="`sub-line-${lineNo}`">
<submission-line
:hint="hintAtHiddenComment(lineNo)"
:hint="hasHiddenComment(lineNo)"
:code="code"
:line-no="lineNo"
@toggleEditor="toggleEditorOnLine(lineNo)"
@@ -171,7 +171,7 @@ export default {
}
}, 5e3)
},
hintAtHiddenComment (lineNo) {
hasHiddenComment (lineNo) {
return !this.showFeedback && this.origFeedback[lineNo]
&& this.origFeedback[lineNo].length > 0
},
Loading