diff --git a/client/src/app/editor/editor.component.ts b/client/src/app/editor/editor.component.ts index 6f5a3cb..fb8779d 100644 --- a/client/src/app/editor/editor.component.ts +++ b/client/src/app/editor/editor.component.ts @@ -980,15 +980,18 @@ export class EditorComponent implements OnInit, AfterViewInit { // Apply licence rows limitation if exists, it is only affecting data // which will be send to SAS - const strippedCsvArrayData = csvArrayData.slice(0, this.licenceState.value.submit_rows_limit) + const strippedCsvArrayData = csvArrayData.slice( + 0, + this.licenceState.value.submit_rows_limit + ) // To submit to sas service, we need clean version of CSV of file // attached. XLSX will do the parsing and heavy lifting // First we create worksheet of json (data we extracted) let ws = XLSX.utils.json_to_sheet(strippedCsvArrayData, { skipHeader: true - }); + }) // create CSV to be uploaded from worksheet - let csvContentClean = XLSX.utils.sheet_to_csv(ws); + let csvContentClean = XLSX.utils.sheet_to_csv(ws) // Prepend headers csvContentClean = csvArrayHeaders.join(',') + '\n' + csvContentClean diff --git a/client/src/app/query/query.component.ts b/client/src/app/query/query.component.ts index 0d23f8a..54f1acc 100644 --- a/client/src/app/query/query.component.ts +++ b/client/src/app/query/query.component.ts @@ -880,9 +880,10 @@ export class QueryComponent for (let clause of clauses) { clause['invalidClause'] = false - if (clause.value === '' && - !(clause.operator === 'NE' || - clause.operator === 'CONTAINS')) { + if ( + clause.value === '' && + !(clause.operator === 'NE' || clause.operator === 'CONTAINS') + ) { clause['invalidClause'] = true return true diff --git a/client/src/environments/_eula.ts b/client/src/environments/_eula.ts index 3d7cba2..684dea6 100644 --- a/client/src/environments/_eula.ts +++ b/client/src/environments/_eula.ts @@ -18,4 +18,4 @@ In any case, you must not make any such use of this software as to develop softw UNLESS EXPRESSLY AGREED OTHERWISE, 4GL APPS PROVIDES THIS SOFTWARE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, AND IN NO EVENT AND UNDER NO LEGAL THEORY, SHALL 4GL APPS BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM USE OR INABILITY TO USE THIS SOFTWARE. -` \ No newline at end of file +`