From e579d2b570733bd4dadeb7480e0fe5cdebe5fde8 Mon Sep 17 00:00:00 2001 From: Yaxue Guo Date: Fri, 3 Jan 2025 17:34:18 -0500 Subject: [PATCH] #356: solved active side navbar item issue --- package-lock.json | 4 ++-- package.json | 2 +- src/components/UserProfile/OtherIdentity.jsx | 13 ++++++++++- src/components/common/SideNav.jsx | 2 +- src/pages/ProjectForm.jsx | 10 ++++++++- src/pages/User.jsx | 23 ++++++++++++++++---- src/services/portalData.json | 5 +++-- 7 files changed, 47 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9e8a7dc..05c7dda 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "fabric-portal", - "version": "1.7.3", + "version": "1.8.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "fabric-portal", - "version": "1.7.3", + "version": "1.8.0", "dependencies": { "@fortawesome/fontawesome-svg-core": "^1.2.32", "@fortawesome/free-brands-svg-icons": "^5.15.3", diff --git a/package.json b/package.json index adf8b01..7d38584 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fabric-portal", - "version": "1.7.3", + "version": "1.8.0", "private": true, "dependencies": { "@fortawesome/fontawesome-svg-core": "^1.2.32", diff --git a/src/components/UserProfile/OtherIdentity.jsx b/src/components/UserProfile/OtherIdentity.jsx index c16880b..a30a421 100644 --- a/src/components/UserProfile/OtherIdentity.jsx +++ b/src/components/UserProfile/OtherIdentity.jsx @@ -1,4 +1,5 @@ import React from 'react'; +import { default as portalData } from "../../services/portalData.json"; class OtherIdentity extends React.Component { state = { @@ -117,7 +118,17 @@ class OtherIdentity extends React.Component { const { other_identities } = this.props; return (
-
Other Identities
+
+ Other Identities + + + User Guide + +