Skip to content

Commit 11fdaf3

Browse files
ndg63276Mark Williams
andauthored
LIMS-1615: Allow direct links to visit summary page (#902)
Co-authored-by: Mark Williams <mark.williams@diamond.ac.uk>
1 parent 8df0aae commit 11fdaf3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

client/src/js/modules/dc/routes.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ application.addInitializer(function() {
5858
// },
5959

6060
function lookupVisit(visit) {
61-
// router guard takes care of setting proposal from route path
62-
//application.cookie(visit.split('-')[0])
61+
application.cookie(visit.split('-')[0])
6362

6463
return new Promise((resolve, reject) => {
6564
visitModel = new Visit({ VISIT: visit })

0 commit comments

Comments
 (0)