Skip to content

Commit

Permalink
Startup bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
3ach committed Feb 24, 2020
1 parent 3a388a1 commit 0aa1588
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions browser/synbiohub.js
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,7 @@ $('form[action="/setup"] select[name="authProvider"]').change(function () {

parentEl.find('div[class^="auth-"]').hide();
parentEl.find('div.auth-' + providerName).show();
})

$(document).on('click', '.copyShare', function() {
let $row = $(this).closest('tr');
Expand All @@ -731,3 +732,4 @@ $(document).on('change', 'select#privilege', function() {

$.post(updatePath, { authId: name, newPrivilege: value })
})

3 changes: 2 additions & 1 deletion lib/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ function App () {
where: {
id: userIds,
virtual: false
}
},
include: [ db.model.UserExternalProfile ]
}).then((users) => {
req.user = users[0]
req.users = users
Expand Down

0 comments on commit 0aa1588

Please sign in to comment.