Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/js/AppBuilder/platform/ABModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default class ABModel extends ABModelCore {
return;
}

if (this.isCsvPacked(data)) {
if (this.isCsvPacked && this.isCsvPacked(data)) {
let lengthPacked = JSON.stringify(data).length;
data = this.csvUnpack(data);

Expand Down
2 changes: 1 addition & 1 deletion src/js/AppBuilder/platform/dataFields/ABFieldFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ export default class ABFieldFile extends ABFieldFileCore {
`<div class="file-data-field-icon" style="text-align: center; height: inherit; display: table-cell; vertical-align: middle; border: 2px dotted #CCC; background: #FFF; border-radius: 10px; font-size: 11px; line-height: 13px; padding: 0 10px; ${iconDisplay}"><i class="fa fa-file fa-2x" style="opacity: 0.6; font-size: 32px; margin-top: 3px; margin-bottom: 5px;"></i>${
editable ? `<br/>${L("Drag and drop or click here")}` : ""
}</div>`,
`<div class="file-data-field-name" style=" width:100%; height:100%; position:relative; "><a target="_blank" href="${fileURL}">${
`<div class="file-data-field-name" style=" width:100%; height:100%; position:relative; "><a class="external" target="_blank" href="${fileURL}">${
name || ""
}</a>${
editable
Expand Down
1 change: 0 additions & 1 deletion src/js/resources/NetworkRestSocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ class NetworkRestSocket extends NetworkRest {
let model = obj.model();
if (ev != "ab.datacollection.delete") {
// if data is packed, then unpack it
let model = obj.model();
if (model.isCsvPacked(values)) {
let lengthPacked = JSON.stringify(data).length;
values = model.csvUnpack(values);
Expand Down
Loading