Skip to content

Commit

Permalink
Merge pull request #1838 from airqo-platform/index_url_edits
Browse files Browse the repository at this point in the history
Index url edits
  • Loading branch information
Baalmart authored Feb 5, 2024
2 parents 0ca8f8a + c119206 commit 9282ee5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions inventory/templates/dashboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,21 +109,21 @@ <h4 class="card-title">Weekly Todo list</h4>
if (option === '0') {
window.location.href = '/index/';
} else if (option === '1') {
window.location.href = '/casing/';
window.location.href = 'inventory/casing/';
} else if (option === '2') {
window.location.href = '/phase2_smt';
window.location.href = 'inventory/phase2_smt/';
}else if (option === '3') {
window.location.href = '/phase1_tht/';
window.location.href = 'inventory/phase1_tht/';
}else if (option === '4') {
window.location.href = '/phase3_tunning/';
window.location.href = 'inventory/phase3_tunning/';
}else if (option === '5') {
window.location.href = '/monitor_assembly/';
window.location.href = 'inventory/monitor_assembly/';
}else if (option === '6') {
window.location.href = '/communication_config/';
window.location.href = 'inventory/communication_config/';
}else if (option === '7') {
window.location.href = '/analysis/';
window.location.href = 'inventory/analysis/';
}else if (option === '8') {
window.location.href = '/correction/';
window.location.href = 'inventory/correction/';
}
};
</script>
Expand Down

0 comments on commit 9282ee5

Please sign in to comment.