Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 4ccb6b62

Přidáno uživatelem Pavel Fidransky před asi 5 roky(ů)

re #33: load frontend app configuration from config.json file

Zobrazit rozdíly:

webapp/src/app/services/api/file.service.ts
5 5
import {Languages} from '../../enums/common.enum';
6 6
import {MatSnackBar} from '@angular/material';
7 7
import {TranslateService} from '@ngx-translate/core';
8
import { Config } from '../util/config.service';
8 9

  
9 10
@Injectable({
10 11
  providedIn: 'root'
11 12
})
12 13
export class FileService extends BasicService {
13 14

  
14
  constructor(protected http: HttpClient, protected snackBar: MatSnackBar, protected translateService: TranslateService) {
15
    super(http, snackBar, translateService);
15
  constructor(protected config: Config, protected http: HttpClient, protected snackBar: MatSnackBar, protected translateService: TranslateService) {
16
    super(config, http, snackBar, translateService);
16 17
  }
17 18

  
18 19
  /**

Také k dispozici: Unified diff