Extend history options

This commit is contained in:
Ludovic Stephan 2017-05-15 19:29:12 -03:00
parent 93c8844b3f
commit 43e772363e

View file

@ -48,8 +48,7 @@ class KHistory {
fetch(api_options) {
this.data.clear();
if (api_options)
this.api_options = api_options;
$.extend(this.api_options, api_options);
this.data.fromAPI(this.api_options)
.done( () => this.display_data() );