Scada-LTS icon indicating copy to clipboard operation
Scada-LTS copied to clipboard

Fixed Type Errors on System Settings

Open Patrykb0802 opened this issue 1 year ago • 0 comments

Describe the bug Type Errors when in the System Settings on new UI.

To Reproduce Steps to reproduce the behavior:

  1. Go to Modern interface
  2. Click on System > system Settings
  3. Look at console in dev tools
  4. See errors

Expected behavior Best case scenario is no errors.

Desktop :

  • OS: Linux Mint
  • Browser Chrome
  • Version 2.7.6.1

Additional context

  • What I got in console:

Connected to WebSocket chunk-vendors.js:28 TypeError: Cannot read properties of undefined (reading 'host') at s.ra (app.js:1:210275) at t._render (chunk-vendors.js:28:23733) at s.i (chunk-vendors.js:28:27824) at ni.get (chunk-vendors.js:28:30684) at new ni (chunk-vendors.js:28:30602) at jn (chunk-vendors.js:28:27838) at Si.$mount (chunk-vendors.js:28:65653) at init (chunk-vendors.js:28:20547) at f (chunk-vendors.js:28:44201) at p (chunk-vendors.js:28:43830)

chunk-vendors.js:28 TypeError: Cannot read properties of undefined (reading 'useProxy') at s.ha (app.js:1:217064) at t._render (chunk-vendors.js:28:23733) at s.i (chunk-vendors.js:28:27824) at ni.get (chunk-vendors.js:28:30684) at new ni (chunk-vendors.js:28:30602) at jn (chunk-vendors.js:28:27838) at Si.$mount (chunk-vendors.js:28:65653) at init (chunk-vendors.js:28:20547) at f (chunk-vendors.js:28:44201) at p (chunk-vendors.js:28:43830)

chunk-vendors.js:28 TypeError: Cannot read properties of undefined (reading 'enabled') at s.en (app.js:1:248184) at t._render (chunk-vendors.js:28:23733) at s.i (chunk-vendors.js:28:27824) at ni.get (chunk-vendors.js:28:30684) at new ni (chunk-vendors.js:28:30602) at jn (chunk-vendors.js:28:27838) at Si.$mount (chunk-vendors.js:28:65653) at init (chunk-vendors.js:28:20547) at f (chunk-vendors.js:28:44201) at p (chunk-vendors.js:28:43830)

chunk-vendors.js:28 TypeError: Cannot convert undefined or null to object at Function.keys () at s.Wa (app.js:1:246448) at t._render (chunk-vendors.js:28:23733) at s.i (chunk-vendors.js:28:27824) at ni.get (chunk-vendors.js:28:30684) at new ni (chunk-vendors.js:28:30602) at jn (chunk-vendors.js:28:27838) at Si.$mount (chunk-vendors.js:28:65653) at init (chunk-vendors.js:28:20547) at f (chunk-vendors.js:28:44201)

chunk-vendors.js:71 Uncaught Error: InvalidStateError: The connection has not been established yet at w.send (chunk-vendors.js:71:646653) at i.value (chunk-vendors.js:112:740664) at i.value (chunk-vendors.js:112:740493) at i.value (chunk-vendors.js:112:739985) at s.subscribeForAlarms (app.js:1:133115) at s.connectToWebSocket (app.js:1:133294)

app.js:1 Uncaught ReferenceError: Swal is not defined at s.check (app.js:1:898718) at s. (app.js:1:899292)

chunk-vendors.js:28 TypeError: Cannot read properties of undefined (reading 'tls') at click (app.js:1:217029) at ne (chunk-vendors.js:28:11664) at s.n (chunk-vendors.js:28:13484) at ne (chunk-vendors.js:28:11664) at An.t.$emit (chunk-vendors.js:28:26491) at s.onClick (chunk-vendors.js:112:1148066) at ne (chunk-vendors.js:28:11664) at HTMLDivElement.n (chunk-vendors.js:28:13484) at Zr.o._wrapper (chunk-vendors.js:28:51766)

app.js:1 Uncaught ReferenceError: Swal is not defined at s.check (app.js:1:898718) at s. (app.js:1:899292)

Check change from issue: #2384 #2663 #2638

Patrykb0802 avatar Nov 09 '23 15:11 Patrykb0802