Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Commit

Permalink
fix #143
Browse files Browse the repository at this point in the history
Signed-off-by: Huaqiao Zhang <[email protected]>
  • Loading branch information
Huaqiao Zhang committed Sep 6, 2018
1 parent e15ad7c commit 7e731c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/static/js/pages/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ var coreExportBtnGroup = {
$("#add_new_export input[name='topic']").val(coreExportModule.selectedRow.addressable.topic);
// $("#add_new_export input[name='key']").val(coreExportModule.selectedRow.id);
// $("#add_new_export input[name='id']").val(coreExportModule.selectedRow.id);
if(coreExportModule.selectedRow.filter != null){
if(coreExportModule.selectedRow.filter != null && Object.keys(coreExportModule.selectedRow.filter) != 0){
coreExportModule.deviceFilterSelected = coreExportModule.selectedRow.filter['deviceIdentifiers'];
coreExportModule.deviceReadingValueSelected = coreExportModule.selectedRow.filter['valueDescriptorIdentifiers'];
$("#device_filter_list .select_panle input[name='deviceName']").val(coreExportModule.deviceFilterSelected.toString());
Expand Down

0 comments on commit 7e731c6

Please sign in to comment.