Skip to content

Commit

Permalink
Merge pull request #466 from swalker2/fix-failed-recent-jobs-link
Browse files Browse the repository at this point in the history
[2.0] Use router-link on recent jobs's failed jobs link
  • Loading branch information
taylorotwell authored Jan 14, 2019
2 parents 7144bd6 + 22a514e commit 1ad8910
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/assets/js/pages/RecentJobs/Jobs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@
<tbody>
<tr v-for="job in jobs">
<td>
<a v-if="job.status == 'failed'" :href="'/horizon/failed/'+job.id"
data-toggle="tooltip" :title="job.name">{{ jobBaseName(job.name) }}
</a>
<router-link v-if="job.status === 'failed'" data-toggle="tooltip" :to="{ name: 'failed.detail', params: { jobId: job.id }}" :title="job.name">
{{ jobBaseName(job.name) }}
</router-link>
<span data-toggle="tooltip" :title="job.name" v-else>{{ jobBaseName(job.name) }}</span>
</td>
<td>{{ job.queue }}</td>
Expand Down

0 comments on commit 1ad8910

Please sign in to comment.