From e4593d59227f05abf19d96e3111c2d4414804c2c Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 8 May 2023 11:34:10 +0200 Subject: [PATCH] Fix issue with admin view of Corpus Lists --- app/static/js/ResourceLists/CorpusList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/ResourceLists/CorpusList.js b/app/static/js/ResourceLists/CorpusList.js index e4d1808f..d2184bf6 100644 --- a/app/static/js/ResourceLists/CorpusList.js +++ b/app/static/js/ResourceLists/CorpusList.js @@ -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 }; }