this.initialize()
}
- protected loadData () {
- return this.videoOwnershipService.getOwnershipChanges(this.pagination, this.sort)
- .subscribe(
- resultList => {
- this.videoChangeOwnerships = resultList.data
- this.totalRecords = resultList.total
- },
-
- err => this.notificationsService.error(this.i18n('Error'), err.message)
- )
- }
-
createByString (account: Account) {
return Account.CREATE_BY_STRING(account.name, account.host)
}
err => this.notificationsService.error(this.i18n('Error'), err.message)
)
}
+
+ protected loadData () {
+ return this.videoOwnershipService.getOwnershipChanges(this.pagination, this.sort)
+ .subscribe(
+ resultList => {
+ this.videoChangeOwnerships = resultList.data
+ this.totalRecords = resultList.total
+ },
+
+ err => this.notificationsService.error(this.i18n('Error'), err.message)
+ )
+ }
}