Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/ci/job_details/components/log/log.vue')
-rw-r--r--app/assets/javascripts/ci/job_details/components/log/log.vue7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/assets/javascripts/ci/job_details/components/log/log.vue b/app/assets/javascripts/ci/job_details/components/log/log.vue
index b8ad4801510..8b43739d7ef 100644
--- a/app/assets/javascripts/ci/job_details/components/log/log.vue
+++ b/app/assets/javascripts/ci/job_details/components/log/log.vue
@@ -12,6 +12,7 @@ export default {
LogLineHeader,
LogLine,
},
+ inject: ['pagePath'],
props: {
searchResults: {
type: Array,
@@ -20,7 +21,7 @@ export default {
},
},
computed: {
- ...mapState(['jobLogEndpoint', 'jobLog', 'jobLogSections', 'isJobLogComplete']),
+ ...mapState(['jobLog', 'jobLogSections', 'isJobLogComplete']),
highlightedLines() {
return this.searchResults.map((result) => result.lineNumber);
},
@@ -73,7 +74,7 @@ export default {
v-if="line.isHeader"
:key="line.offset"
:line="line"
- :path="jobLogEndpoint"
+ :path="pagePath"
:is-closed="jobLogSections[line.section].isClosed"
:duration="jobLogSections[line.section].duration"
:hide-duration="jobLogSections[line.section].hideDuration"
@@ -84,7 +85,7 @@ export default {
v-else
:key="line.offset"
:line="line"
- :path="jobLogEndpoint"
+ :path="pagePath"
:is-highlighted="isHighlighted(line)"
/>
</template>