Skip to content

Commit edf48a8

Browse files
medjedovicmAllan Bowe
andauthored
fix: data.length error in console (#641)
* fix: data.length error in console * chore: cleanup * fix: removing server url Co-authored-by: Allan Bowe <allnbwe@gmail.com>
1 parent df7fbdf commit edf48a8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

sasjs/sasjsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
"serverUrl": "",
2424
"serverType": "SASVIYA",
2525
"appLoc": "/Public/app/angular-seed-app",
26-
"deployConfig": {
27-
"deployServicePack": true
28-
},
2926
"contextName": "SAS Job Execution compute context"
3027
},
3128
{
@@ -42,6 +39,7 @@
4239
{
4340
"name": "server",
4441
"serverType": "SASJS",
42+
"serverUrl": "",
4543
"appLoc": "/Public/app/angular-seed-app",
4644
"deployConfig": {
4745
"deployServicePack": true

src/app/data/data.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class DataComponent implements OnInit {
4343
this.springs = res['springs']
4444
this.springsLoading = false
4545

46-
if (!res || !res['springs'] || res['spring'].length < 1) {
46+
if (!res || !res['springs'] || res['spring']?.length < 1) {
4747
this.noData = true
4848
} else {
4949
this.noData = false

0 commit comments

Comments
 (0)