Skip to content

Commit 5c6a824

Browse files
author
Myztiq
committed
Using isActive flag now.
1 parent 04607a6 commit 5c6a824

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/config/routes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ module.exports = [
169169
return $q.reject(new Error('User Unauthorized for Organization'));
170170
});
171171
}
172-
if (!activeOrg.attrs.allowed) {
172+
if (!activeOrg.attrs.isActive) {
173173
// There is a bug in ui-router and a timeout is the workaround
174174
return $timeout(function () {
175175
$state.go('paused');

0 commit comments

Comments
 (0)