[Fix] don't auto reload reports

This commit is contained in:
Robert von Burg 2018-09-10 10:43:12 +02:00
parent bce07e7481
commit 2f0716e6ce
2 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"name": "strolch-wc-reports",
"description": "Strolch WebComponent Reports",
"version": "0.1.2",
"version": "0.1.3",
"authors": [
"Robert von Burg"
],

View File

@ -11,6 +11,7 @@
<link rel="import" href="../paper-tooltip/paper-tooltip.html">
<link rel="import" href="../vaadin-date-picker/vaadin-date-picker.html">
<link rel="import" href="../strolch-wc-styles/strolch-wc-styles.html">
<link rel="import" href="../strolch-wc-localize-behavior/strolch-wc-localize-behavior.html">
<link rel="import" href="strolch-wc-reports-behavior.html">
@ -173,7 +174,7 @@
</style>
<!-- Requests -->
<iron-ajax auto
<iron-ajax id="ajaxGetReports"
url="[[baseRestPath]]/strolch/reports"
content-type="application/json"
handle-as="json"
@ -425,6 +426,10 @@
return true;
},
reload: function () {
this.$.ajaxGetReports.generateRequest();
},
/* Private */
/* Public */