6 changed files with 2 additions and 41 deletions
@ -1,10 +0,0 @@
|
||||
Ext.define('Rambox.profile.Offline', { |
||||
extend: 'Ext.app.Profile' |
||||
,isActive: function() { |
||||
return !localStorage.getItem('id_token'); |
||||
} |
||||
|
||||
,launch: function() { |
||||
console.warn('USER NOT LOGGED IN'); |
||||
} |
||||
}); |
@ -1,10 +0,0 @@
|
||||
Ext.define('Rambox.profile.Online', { |
||||
extend: 'Ext.app.Profile' |
||||
,isActive: function() { |
||||
return localStorage.getItem('id_token'); |
||||
} |
||||
|
||||
,launch: function() { |
||||
console.info('USER LOGGED IN'); |
||||
} |
||||
}); |
Loading…
Reference in new issue