|
@ -114,6 +114,7 @@ export class AdminPlatformComponent implements OnInit, OnDestroy { |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.subscribe((platforms) => { |
|
|
.subscribe((platforms) => { |
|
|
this.platforms = platforms; |
|
|
this.platforms = platforms; |
|
|
|
|
|
|
|
|
this.dataSource = new MatTableDataSource(platforms); |
|
|
this.dataSource = new MatTableDataSource(platforms); |
|
|
this.dataSource.sort = this.sort; |
|
|
this.dataSource.sort = this.sort; |
|
|
this.dataSource.sortingDataAccessor = get; |
|
|
this.dataSource.sortingDataAccessor = get; |
|
@ -130,7 +131,6 @@ export class AdminPlatformComponent implements OnInit, OnDestroy { |
|
|
url: null |
|
|
url: null |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
height: this.deviceType === 'mobile' ? '97.5vh' : '80vh', |
|
|
height: this.deviceType === 'mobile' ? '97.5vh' : '80vh', |
|
|
width: this.deviceType === 'mobile' ? '100vw' : '50rem' |
|
|
width: this.deviceType === 'mobile' ? '100vw' : '50rem' |
|
|
}); |
|
|
}); |
|
@ -170,7 +170,6 @@ export class AdminPlatformComponent implements OnInit, OnDestroy { |
|
|
url |
|
|
url |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
height: this.deviceType === 'mobile' ? '97.5vh' : '80vh', |
|
|
height: this.deviceType === 'mobile' ? '97.5vh' : '80vh', |
|
|
width: this.deviceType === 'mobile' ? '100vw' : '50rem' |
|
|
width: this.deviceType === 'mobile' ? '100vw' : '50rem' |
|
|
}); |
|
|
}); |
|
|