From b444b35eb4058452e6eeb07efa891af55e3eec3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20H=C3=B8fft?= Date: Fri, 11 Feb 2022 15:05:08 +0100 Subject: [PATCH] fix: typo --- src/components/Institution/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Institution/index.js b/src/components/Institution/index.js index ac13630a..5740868d 100644 --- a/src/components/Institution/index.js +++ b/src/components/Institution/index.js @@ -395,8 +395,8 @@ class Institution extends Component { entity={institution} createMasterSource={data => createMasterSource(key, data)} deleteMasterSource={() => deleteMasterSource(key)} - canCreate={() => canCreate('grscicoll/collection', key, 'masterSourceMetadata')} - canDelete={() => canDelete('grscicoll/collection', key, 'masterSourceMetadata')} + canCreate={() => canCreate('grscicoll/institution', key, 'masterSourceMetadata')} + canDelete={() => canDelete('grscicoll/institution', key, 'masterSourceMetadata')} updateCounts={this.updateCounts} refresh={this.refresh} />