diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2021-06-18 12:56:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-18 12:56:28 +0200 |
commit | 3875af2971cb5aefb5719bf9927ad229e4070c1a (patch) | |
tree | 92bfe039866cb777ce393458425c9ae23876e1fb | |
parent | 33c4413ddf98cfe4e436e8c64dbc698b440d9069 (diff) | |
parent | 76d9c812c5eec39c6628fa3efe7ec428d030791c (diff) |
Merge pull request #2287 from nextcloud/fix/orphan-circle-test
Fix Circle class name comparison
-rw-r--r-- | src/models/member.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/member.ts b/src/models/member.ts index 37c60bb1..ac28975f 100644 --- a/src/models/member.ts +++ b/src/models/member.ts @@ -137,7 +137,7 @@ export default class Member { * Is the current member without a circle? */ get isOrphan() { - return this._circle?.constructor?.name !== 'Circle' + return this._circle?.constructor?.name !== Circle.name } /** |