Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
fix issue #58
Browse files Browse the repository at this point in the history
  • Loading branch information
Panagis Tselentis committed May 11, 2017
1 parent cde52c6 commit 179473d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/app/plugins/add-plugin-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@

// Delete unset fields
Object.keys(request_data).forEach(function(key){
if(!request_data[key].length) delete request_data[key]
if(!request_data[key] || !request_data[key].length) delete request_data[key]
})

$log.debug("REQUEST DATA =>",request_data)
Expand Down

0 comments on commit 179473d

Please sign in to comment.