state() {
            if (this.isLoggedIn()) {
                return this.isLocked() ? 'login.unlock' : null;
            }
            return 'login';
        }
// This will null if the logged in and unlocked.
This will null if the logged in and unlocked.
This will null if the logged in and unlocked .
state() {
            if (this.isLoggedIn()) {
                return this.isLocked() ? 'login.unlock' : null;
            }
            return 'login';
        }
state ( ) { if ( this . isLoggedIn ( ) ) { return this . isLocked ( ) ? 'login.unlock' : null ; } return 'login' ; }
This will null if the logged in and unlocked.
This will null if the logged in and unlocked .