Moving the namespace and some functions from user-management to user package
This commit is contained in:
1 parent
65ee016efc
commit
08fc0100f8
11 files changed
+20
-14
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
import { OHIF } from 'meteor/ohif:core';
|
||||
|
||||
OHIF.user.logout = () => Meteor.logout(error => {
|
||||
if (error) {
|
||||
OHIF.ui.showDialog('dialogInfo', {
|
||||
title: 'Error',
|
||||
message: error.reason
|
||||
});
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user