690b7674e7
remove the registry title
25 lines
550 B
TypeScript
25 lines
550 B
TypeScript
import { Input, Component, Inject } from 'ng-metadata/core';
|
|
const templateUrl = require('./config-setup-app.component.html');
|
|
|
|
/**
|
|
* Initial Screen and Choice in the Config App
|
|
*/
|
|
@Component({
|
|
selector: 'config-setup-app',
|
|
templateUrl: templateUrl,
|
|
})
|
|
export class ConfigSetupAppComponent {
|
|
private state: 'choice' | 'setup' | 'load';
|
|
|
|
constructor() {
|
|
this.state = 'choice';
|
|
}
|
|
|
|
private chooseSetup(): void {
|
|
this.state = 'setup';
|
|
}
|
|
|
|
private chooseLoad(): void {
|
|
this.state = 'load';
|
|
}
|
|
}
|