summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2021-06-18 12:56:28 +0200
committerGitHub <noreply@github.com>2021-06-18 12:56:28 +0200
commit3875af2971cb5aefb5719bf9927ad229e4070c1a (patch)
tree92bfe039866cb777ce393458425c9ae23876e1fb
parent33c4413ddf98cfe4e436e8c64dbc698b440d9069 (diff)
parent76d9c812c5eec39c6628fa3efe7ec428d030791c (diff)
Merge pull request #2287 from nextcloud/fix/orphan-circle-test
Fix Circle class name comparison
-rw-r--r--src/models/member.ts2
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
}
/**