Don't wait for UI updates for entities that are not queriable

This commit is contained in:
Fabio Manganiello 2022-11-13 00:54:37 +01:00
parent fb594cb8b1
commit f90d84a3d4
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -176,6 +176,9 @@ export default {
}, {})) }, {}))
this.loadingEntities = Object.values(entities).reduce((obj, entity) => { this.loadingEntities = Object.values(entities).reduce((obj, entity) => {
if (entity.is_query_disabled || entity.is_write_only)
return obj
const self = this const self = this
const id = entity.id const id = entity.id
if (this.entityTimeouts[id]) if (this.entityTimeouts[id])