From 427c0cdbba36bd36f87e8180ad702c46c2015044 Mon Sep 17 00:00:00 2001 From: Michael Ritter Date: Wed, 28 Feb 2024 16:48:12 -0700 Subject: [PATCH 1/2] Add associated authorities to forms (#15) --- src/plugins/recordTypes/person/forms/default.jsx | 8 ++++++++ src/plugins/recordTypes/place/forms/default.jsx | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/src/plugins/recordTypes/person/forms/default.jsx b/src/plugins/recordTypes/person/forms/default.jsx index ce75e1e..360a13f 100644 --- a/src/plugins/recordTypes/person/forms/default.jsx +++ b/src/plugins/recordTypes/person/forms/default.jsx @@ -15,6 +15,10 @@ const template = (configContext) => { Subrecord, } = configContext.recordComponents; + const { + extensions, + } = configContext.config; + return ( @@ -216,6 +220,10 @@ const template = (configContext) => { + + {extensions.associatedAuthority.form} + + diff --git a/src/plugins/recordTypes/place/forms/default.jsx b/src/plugins/recordTypes/place/forms/default.jsx index a3e88fc..a95a46f 100644 --- a/src/plugins/recordTypes/place/forms/default.jsx +++ b/src/plugins/recordTypes/place/forms/default.jsx @@ -158,6 +158,10 @@ const template = (configContext) => { + + {extensions.associatedAuthority.form} + + From 424570d46b3105fa794e623e81b97ffcc73f4dc6 Mon Sep 17 00:00:00 2001 From: Ray Lee Date: Wed, 28 Feb 2024 20:57:14 -0500 Subject: [PATCH 2/2] Change package version to 7.0.0-rc.2. --- package-lock.json | 12 ++++++------ package.json | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index b13fc56..9461007 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cspace-ui-plugin-profile-lhmc", - "version": "7.0.0-rc.1", + "version": "7.0.0-rc.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cspace-ui-plugin-profile-lhmc", - "version": "7.0.0-rc.1", + "version": "7.0.0-rc.2", "license": "ECL-2.0", "dependencies": { "cspace-ui-plugin-ext-culturalcare": "^1.0.2", @@ -26,7 +26,7 @@ "chai-as-promised": "^5.3.0", "chai-immutable": "^1.6.0", "cross-env": "^2.0.0", - "cspace-ui": "^9.0.0-dev.6", + "cspace-ui": "^9.0.0-rc.2", "css-loader": "^6.7.3", "eslint": "^6.7.2", "eslint-config-airbnb": "^18.0.1", @@ -3963,9 +3963,9 @@ "dev": true }, "node_modules/cspace-ui": { - "version": "9.0.0-dev.6", - "resolved": "https://registry.npmjs.org/cspace-ui/-/cspace-ui-9.0.0-dev.6.tgz", - "integrity": "sha512-Ia9gnDMhc3fA1T054crOMDESJObph0Wn4faMzdcKVk7Gm+5HONgT+72vxwzCvzCCHvaOyFmh5VcEEoOyEeAgwg==", + "version": "9.0.0-rc.2", + "resolved": "https://registry.npmjs.org/cspace-ui/-/cspace-ui-9.0.0-rc.2.tgz", + "integrity": "sha512-KjFlZQ+50Ta6CA3QmrvTtmYwvK52rmmmYkIZiv41OsP1q80TqOy1nLumZx9JN9JcE8ajaTRlel2DH3B1AtYhVQ==", "dev": true, "dependencies": { "classnames": "^2.2.5", diff --git a/package.json b/package.json index 0bf8742..33b0e99 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cspace-ui-plugin-profile-lhmc", - "version": "7.0.0-rc.1", + "version": "7.0.0-rc.2", "description": "Local History and Material Culture profile plugin for the CollectionSpace UI", "author": "Ray Lee ", "license": "ECL-2.0", @@ -57,7 +57,7 @@ "chai-as-promised": "^5.3.0", "chai-immutable": "^1.6.0", "cross-env": "^2.0.0", - "cspace-ui": "^9.0.0-dev.6", + "cspace-ui": "^9.0.0-rc.2", "css-loader": "^6.7.3", "eslint": "^6.7.2", "eslint-config-airbnb": "^18.0.1",