|
|
@@ -1,5 +1,5 @@ |
|
|
|
import { Component } from '@angular/core'; |
|
|
|
|
|
|
|
import { UpdateService } from './services/update.service'; |
|
|
|
|
|
|
|
@Component({ |
|
|
|
selector: 'app-root', |
|
|
@@ -7,9 +7,11 @@ import { Component } from '@angular/core'; |
|
|
|
styleUrls: ['./app.component.scss'] |
|
|
|
}) |
|
|
|
export class AppComponent { |
|
|
|
constructor() { |
|
|
|
constructor( |
|
|
|
private updateService: UpdateService, |
|
|
|
) { |
|
|
|
if (!localStorage.demoType) { |
|
|
|
localStorage.demoType = 'Teacher'; |
|
|
|
localStorage.demoType = 'Student'; |
|
|
|
} |
|
|
|
} |
|
|
|
} |