Unverified Commit 0b2cc4f6 authored by davelopez's avatar davelopez
Browse files

Show collection job details only when source is Job

parent c5e7a367
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -177,7 +177,10 @@ export default {
            if (this.isCollection) {
                return {
                    edit: `collection/edit/${id}`,
                    showDetails: this.item.job_source_id ? `jobs/${this.item.job_source_id}/view` : null,
                    showDetails:
                        this.item.job_source_id && this.item.job_source_type === "Job"
                            ? `jobs/${this.item.job_source_id}/view`
                            : null,
                };
            }
            return {