bugfix for API selects (#780)

This commit is contained in:
Kevin Papst
2019-05-12 17:22:24 +02:00
committed by GitHub
parent 5c227888f2
commit 392f8239f5
15 changed files with 1667 additions and 1118 deletions

View File

@@ -103,9 +103,9 @@ export default class KimaiActiveRecords extends KimaiPlugin {
reloadActiveRecords() {
const self = this;
const apiService = this.getContainer().getPlugin('api');
const API= this.getContainer().getPlugin('api');
apiService.get(this.attributes['api'], {}, function(result) {
API.get(this.attributes['api'], {}, function(result) {
self.setEntries(result);
});
}