Skip to content
Snippets Groups Projects
Commit 754300f0 authored by paf's avatar paf
Browse files

update angular pt ii

parent d4ad7c48
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ export class UsersComponent implements OnInit, OnDestroy {
public displayedWorkspaceColumns = ['selectCheckbox', 'label'];
private logindataSubscription: Subscription = null;
@ViewChild(MatSort) sort: MatSort;
@ViewChild(MatSort, { static: false }) sort: MatSort;
constructor(
private bs: BackendService,
......
......@@ -34,7 +34,7 @@ export class WorkspacesComponent implements OnInit, OnDestroy {
public UserlistDatasource: MatTableDataSource<IdRoleData>;
public displayedUserColumns = ['selectCheckbox', 'name'];
@ViewChild(MatSort) sort: MatSort;
@ViewChild(MatSort, { static: false }) sort: MatSort;
constructor(
private bs: BackendService,
......
......@@ -37,7 +37,7 @@ export class FilesComponent implements OnInit, OnDestroy {
public checkWarnings = [];
public checkInfos = [];
@ViewChild(MatSort) sort: MatSort;
@ViewChild(MatSort, { static: true }) sort: MatSort;
constructor(
@Inject('SERVER_URL') private serverUrl: string,
......
......@@ -24,7 +24,7 @@ export class MonitorComponent implements OnInit, OnDestroy {
public tableselectionCheckbox = new SelectionModel<MonitorData>(true, []);
private workspaceIdSubscription: Subscription = null;
public dataLoading = false;
@ViewChild(MatSort) sort: MatSort;
@ViewChild(MatSort, { static: true }) sort: MatSort;
constructor(
private bs: BackendService,
......
......@@ -25,7 +25,7 @@ export class ResultsComponent implements OnInit, OnDestroy {
public dataLoading = false;
private workspaceIdSubscription: Subscription = null;
@ViewChild(MatSort) sort: MatSort;
@ViewChild(MatSort, { static: true }) sort: MatSort;
constructor(
private bs: BackendService,
......
......@@ -22,7 +22,7 @@ export class SyscheckComponent implements OnInit {
public tableselectionCheckbox = new SelectionModel<SysCheckStatistics>(true, []);
public dataLoading = false;
@ViewChild(MatSort) sort: MatSort;
@ViewChild(MatSort, { static: true }) sort: MatSort;
constructor(
private bs: BackendService,
......
......@@ -5,7 +5,7 @@
export const environment = {
production: false,
testcenterUrl: 'https://itemdb2.iqb.hu-berlin.de/admin/',
testcenterUrl: 'http://localhost/2020/testcenter-iqb-php/admin/',
appName: 'IQB-Testcenter Verwaltung',
appPublisher: 'IQB - Institut zur Qualitätsentwicklung im Bildungswesen',
appVersion: '0.5 (dev)'
......
......@@ -18,6 +18,14 @@
"lib": [
"es2017",
"dom"
]
],
"paths": {
"core-js/es7/reflect": [
"node_modules/core-js/proposals/reflect-metadata"
],
"core-js/es6/reflect": [
"node_modules/core-js/proposals/reflect-metadata"
]
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment