Fix issue with admin view of Corpus Lists

This commit is contained in:
Patrick Jentsch 2023-05-08 11:34:10 +02:00
parent c3306563f0
commit e4593d5922

View File

@ -82,7 +82,7 @@ class CorpusList extends ResourceList {
'status': corpus.status,
'title': corpus.title,
'owner': corpus.user.username,
'is-owner': corpus.user.id === currentUserId ? true : false
'is-owner': corpus.user.id === this.userId ? true : false
};
}