-
-
Save mttmccb/9558ed019277333e52ebf393922d5222 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {autoinject} from 'aurelia-framework'; | |
import {HttpClient} from "aurelia-fetch-client"; | |
import {Steam} from './steam'; | |
import {BaseI18N, I18N} from 'aurelia-i18n'; | |
import {EventAggregator} from 'aurelia-event-aggregator'; | |
@autoinject() | |
export class Producers extends BaseI18N { | |
producers = 'Producers Page!'; | |
users = []; | |
selectedUser = ""; | |
login_status = false; | |
welcome_msg = ""; | |
constructor( | |
public steam:Steam, | |
public i18n : I18N, | |
public element: Element, | |
public ea: EventAggregator) { | |
super(i18n, element, ea); | |
} | |
activate() { | |
this.getProducers(); | |
this.login_status = this.steam.loginp(); | |
console.log("LOGIN STATUS in producers : ", this.login_status); | |
this.welcome_msg = this.i18n.tr('welcome'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment