Revize 4ccb6b62
Přidáno uživatelem Pavel Fidransky před asi 5 roky(ů)
webapp/src/app/services/api/users.service.ts | ||
---|---|---|
9 | 9 |
import {UserBasicInformation, UserProfile} from '../../models/user.model'; |
10 | 10 |
import {MatSnackBar} from '@angular/material'; |
11 | 11 |
import {TranslateService} from '@ngx-translate/core'; |
12 |
import { Config } from '../util/config.service'; |
|
12 | 13 |
|
13 | 14 |
@Injectable({ |
14 | 15 |
providedIn: 'root' |
... | ... | |
16 | 17 |
export class UsersService extends BasicService { |
17 | 18 |
private _usersUrl = this.baseUrl + '/api/users'; |
18 | 19 |
|
19 |
constructor(protected http: HttpClient, protected snackBar: MatSnackBar, protected translateService: TranslateService) { |
|
20 |
super(http, snackBar, translateService); |
|
20 |
constructor(protected config: Config, protected http: HttpClient, protected snackBar: MatSnackBar, protected translateService: TranslateService) {
|
|
21 |
super(config, http, snackBar, translateService);
|
|
21 | 22 |
} |
22 | 23 |
|
23 | 24 |
/** |
Také k dispozici: Unified diff
re #33: load frontend app configuration from config.json file