File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Rock.JavaScript.Obsidian/Framework/Core/Reporting Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ export class FieldFilterFunctionBuilder<T = unknown> {
273273
274274 // Look for the standard "attributes" property for entities.
275275 const attributes = instance [ "attributes" ] as Record < string , PublicAttributeBag > | null | undefined ;
276- if ( ! attributes || ! Array . isArray ( attributes ) ) {
276+ if ( ! attributes || typeof attributes !== "object" ) {
277277 return undefined ;
278278 }
279279
@@ -302,7 +302,7 @@ export class FieldFilterFunctionBuilder<T = unknown> {
302302
303303 // Look for the standard "attributes" property for entities.
304304 const attributes = instance [ "attributes" ] as Record < string , PublicAttributeBag > | null | undefined ;
305- if ( ! attributes || ! Array . isArray ( attributes ) ) {
305+ if ( ! attributes || typeof attributes !== "object" ) {
306306 return undefined ;
307307 }
308308
You can’t perform that action at this time.
0 commit comments