Replacing loading dialog from ohif:user login page
This commit is contained in:
1 parent
43ce7857fc
commit
cc76eab078
3 files changed
+27
-7
No files matched your search
@@ -36,13 +36,7 @@ Template.userLogin.onCreated(() => {
|
||||
};
|
||||
|
||||
// Call the login method
|
||||
const promise = OHIF.user.login(formData).then(successHandler).catch(errorHandler);
|
||||
|
||||
// Display loading state
|
||||
OHIF.ui.showDialog('dialogLoading', {
|
||||
text: 'Signing in...',
|
||||
promise
|
||||
});
|
||||
return OHIF.user.login(formData).then(successHandler).catch(errorHandler);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user