Skip to content

Commit

Permalink
Remove no longer needed JS API data clear
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jan 7, 2023
1 parent ef3caa2 commit 6c25410
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions js/src/services/api.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@ class ApiService {
}

/**
* Check server response and clear api.data object.
* Check server response.
*
* @returns {boolean}
*/
successTest(response) {
this.data = {};
if (response.success) {
return true;
}
Expand Down
3 changes: 1 addition & 2 deletions public/js/atkjs-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -1952,12 +1952,11 @@ class ApiService {
}

/**
* Check server response and clear api.data object.
* Check server response.
*
* @returns {boolean}
*/
successTest(response) {
this.data = {};
if (response.success) {
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion public/js/atkjs-ui.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/atkjs-ui.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/atkjs-ui.min.js.map

Large diffs are not rendered by default.

0 comments on commit 6c25410

Please sign in to comment.