forked from platypush/platypush
Additional null check on this.searchTerm
This commit is contained in:
parent
3482c29679
commit
5d1c8cf8e9
13 changed files with 15 additions and 15 deletions
|
@ -1 +1 @@
|
||||||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><link rel="stylesheet" href="/fonts/poppins.css"><title>platypush</title><script defer="defer" type="module" src="/static/js/chunk-vendors.95bedba1.js"></script><script defer="defer" type="module" src="/static/js/app.2b499631.js"></script><link href="/static/css/chunk-vendors.0fcd36f0.css" rel="stylesheet"><link href="/static/css/app.11a00465.css" rel="stylesheet"><script defer="defer" src="/static/js/chunk-vendors-legacy.79dede0c.js" nomodule></script><script defer="defer" src="/static/js/app-legacy.2aa8aec3.js" nomodule></script></head><body><noscript><strong>We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><link rel="stylesheet" href="/fonts/poppins.css"><title>platypush</title><script defer="defer" type="module" src="/static/js/chunk-vendors.95bedba1.js"></script><script defer="defer" type="module" src="/static/js/app.7b9d8b1b.js"></script><link href="/static/css/chunk-vendors.0fcd36f0.css" rel="stylesheet"><link href="/static/css/app.11a00465.css" rel="stylesheet"><script defer="defer" src="/static/js/chunk-vendors-legacy.79dede0c.js" nomodule></script><script defer="defer" src="/static/js/app-legacy.8004c555.js" nomodule></script></head><body><noscript><strong>We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/js/7083-legacy.15b6f5f7.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/7083-legacy.15b6f5f7.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/js/7083.51845edb.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/7083.51845edb.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -89,7 +89,7 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
selectedEntities() {
|
selectedEntities() {
|
||||||
const searchTerm = this.searchTerm?.toLowerCase()
|
const searchTerm = (this.searchTerm || '').toLowerCase()
|
||||||
return Object.values(this.entityGroups.id).filter((entity) => {
|
return Object.values(this.entityGroups.id).filter((entity) => {
|
||||||
if (!this.selectedGroups[entity[this.value?.grouping]])
|
if (!this.selectedGroups[entity[this.value?.grouping]])
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in a new issue