Skip to content

Commit

Permalink
Fixed: category for the inventory router push and name (#734)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Dec 9, 2024
1 parent fe7da2a commit 1d06675
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Inventory.vue
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export default defineComponent({
}
if(!this.isDesktop && this.currentJob) {
this.router.push({ name: 'JsobDetails', params: { jobId: this.currentJob.jobId, category: "inventory" } });
this.router.push({ name: 'JobDetails', params: { jobId: this.currentJob.jobId, category: "inventory" } });
return;
}
Expand Down Expand Up @@ -229,7 +229,7 @@ export default defineComponent({
await this.store.dispatch("maargJob/updateCurrentMaargJob", { job })
this.currentJob = ""
if(!this.isDesktop && this.currentMaargJob?.jobName) {
this.router.push({ name: 'JobDetails', params: { jobId: this.currentMaargJob.jobTypeEnumId, category: "initial-load-maarg" } });
this.router.push({ name: 'JobDetails', params: { jobId: this.currentMaargJob.jobTypeEnumId, category: "inventory-maarg" } });
return;
}
Expand Down

0 comments on commit 1d06675

Please sign in to comment.