Fixed bug
This commit is contained in:
parent
5ba92d597d
commit
a09ae9367b
@ -37,7 +37,7 @@ Template.chromebook.events({
|
|||||||
Chromebooks.update(this._id, {$set: {last_checkout: null}});
|
Chromebooks.update(this._id, {$set: {last_checkout: null}});
|
||||||
Chromebooks.update(this._id, {$set: {userid: null}});
|
Chromebooks.update(this._id, {$set: {userid: null}});
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
'click .cross': function() {
|
'click .cross': function() {
|
||||||
if (Roles.userIsInRole(Meteor.userId(), ['admin'])) {
|
if (Roles.userIsInRole(Meteor.userId(), ['admin'])) {
|
||||||
Router.go('/admin');
|
Router.go('/admin');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user