<commit_before>import {Component, ViewEncapsulation} from '@angular/core';
import {CustomerStateStore} from '../../state/store/customer.state.store';
import {CustomerState} from '../../state/customer.state';

@Component({
	selector: 'customer',
	templateUrl: 'customer.template.html',
	encapsulation: ViewEncapsulation.None,
})

export class Customer {
	noCustomerContextShow: boolean = true;
	processReceiptView: boolean = false;
	constructor (private customerStateStore: CustomerStateStore) {
		this.customerStateStore.customerState.subscribe(
			(customerState: CustomerState) => {

				console.log('customer state::' + customerState.playerID);

				if (customerState.playerID === null) {
					this.noCustomerContextShow = true;
					this.processReceiptView = true;
				}
			}
		);
	}
}<commit_msg>fixed customer context display<commit_after>import {Component, ViewEncapsulation} from '@angular/core';
import {CustomerStateStore} from '../../state/store/customer.state.store';
import {CustomerState} from '../../state/customer.state';

@Component({
	selector: 'customer',
	templateUrl: 'customer.template.html',
	encapsulation: ViewEncapsulation.None,
})

export class Customer {
	noCustomerContextShow: boolean = true;
	processReceiptView: boolean = true;
	constructor (private customerStateStore: CustomerStateStore) {
		this.customerStateStore.customerState.subscribe(
			(customerState: CustomerState) => {

				console.log('customer state::' + customerState.playerID);

				if (customerState.playerID === null) {
					this.noCustomerContextShow = true;
					this.processReceiptView = false;
				}
			}
		);
	}
}
{'fraction_non_alphanumeric': 0.13218035824583077, 'fraction_numerical': 0.0, 'mean_word_length': 4.912408759124087, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2396125', 'n_tokens_mistral': 512, 'n_tokens_neox': 460, 'n_words': 95}