Skip to content

Commit

Permalink
udno
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer committed Apr 30, 2022
1 parent 0a0e991 commit f710c3a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/record-data/addon/-private/record-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ export default class RecordDataDefault implements RelationshipRecordData {
// this is a hack bc we don't have access to the state machine
// and relationships need this info and @runspired didn't see
// how to get it just yet from storeWrapper.
// should always be false to the end user
// e.g. create record without second arg and add to async relationship many and it will fetch it b/c isEmpty is true
isEmpty() {
return this.__attributes === null && this.__inFlightAttributes === null && this.__data === null;
}
Expand Down

0 comments on commit f710c3a

Please sign in to comment.