Hi!
I am trying to create a “Collection” component in create. The component has a collection object as input, which is required. In the component I am trying to calculate the number of sensors in that collection and pass that along to another component displaying that information within the component. That second component takes in a string.
We have a connection database object called “Sensor - Collection", and I am trying to pass this: ```return `${sensorCollection.length} sensors` ``` into the component. The sensor-collection object is filtered on Collection = Collection (from the parent component param). The entire application crashes and I get this message when trying to load the page: “Cannot read properties of undefined (reading ‘getSingleObject’)”.