PMCORE-3301 Custom cases list: Can not import a JSON related to the custom Caselist

This commit is contained in:
Roly Gutierrez
2021-09-09 17:00:01 -04:00
parent be127e5b38
commit 1a2b777ca3
3 changed files with 24 additions and 3 deletions

View File

@@ -249,8 +249,8 @@ export default {
* @param {Array} data
*/
filterDataToExport(data) {
var dataExport = [];
dataExport.push({
var dataExport;
dataExport = {
type: data['type'],
name: data['name'],
description: data['description'],
@@ -263,7 +263,7 @@ export default {
iconColorScreen: data['iconColorScreen'],
createDate: data['createDate'],
updateDate: data['updateDate']
});
};
return dataExport;
},
/**