diff options
Diffstat (limited to 'app/assets/javascripts/jobs/components/log/log.vue')
-rw-r--r-- | app/assets/javascripts/jobs/components/log/log.vue | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/app/assets/javascripts/jobs/components/log/log.vue b/app/assets/javascripts/jobs/components/log/log.vue index ef95d79b8ab..9647582b81d 100644 --- a/app/assets/javascripts/jobs/components/log/log.vue +++ b/app/assets/javascripts/jobs/components/log/log.vue @@ -8,6 +8,13 @@ export default { CollapsibleLogSection, LogLine, }, + props: { + searchResults: { + type: Array, + required: false, + default: () => [], + }, + }, computed: { ...mapState([ 'jobLogEndpoint', @@ -56,9 +63,16 @@ export default { :key="`collapsible-${index}`" :section="section" :job-log-endpoint="jobLogEndpoint" + :search-results="searchResults" @onClickCollapsibleLine="handleOnClickCollapsibleLine" /> - <log-line v-else :key="section.offset" :line="section" :path="jobLogEndpoint" /> + <log-line + v-else + :key="section.offset" + :line="section" + :path="jobLogEndpoint" + :search-results="searchResults" + /> </template> <div v-if="!isJobLogComplete" class="js-log-animation loader-animation pt-3 pl-3"> |