diff --git a/code/aspen_app/src/screens/MyAccount/MyLibraryCard/MyLibraryCard.js b/code/aspen_app/src/screens/MyAccount/MyLibraryCard/MyLibraryCard.js
index 9927c0bc8f..d3f6b7bc57 100644
--- a/code/aspen_app/src/screens/MyAccount/MyLibraryCard/MyLibraryCard.js
+++ b/code/aspen_app/src/screens/MyAccount/MyLibraryCard/MyLibraryCard.js
@@ -285,7 +285,7 @@ const CreateLibraryCard = (data) => {
}
let icon = library.favicon;
- if (library.logoApp) {
+ if (card.homeLocation === library.displayName && library.logoApp) {
icon = library.logoApp;
}
@@ -302,7 +302,7 @@ const CreateLibraryCard = (data) => {
{icon ? : null}
- {library.displayName}
+ {card.homeLocation}
@@ -339,7 +339,7 @@ const CreateLibraryCard = (data) => {
{icon ? : null}
- {library.displayName}
+ {card.homeLocation}
@@ -492,4 +492,4 @@ const OpenBarcode = (data) => {
);
-};
\ No newline at end of file
+};
diff --git a/code/aspen_app/src/util/api/user.js b/code/aspen_app/src/util/api/user.js
index 099ca3285c..a3bec35a96 100644
--- a/code/aspen_app/src/util/api/user.js
+++ b/code/aspen_app/src/util/api/user.js
@@ -439,6 +439,7 @@ export async function getLinkedAccounts(primaryUser, cards, barcodeStyle, url, l
expired: primaryUser.expired,
expires: primaryUser.expires,
barcodeStyle: barcodeStyle,
+ homeLocation: primaryUser.homeLocation,
};
cardStack.push(primaryCard);
if (!_.isUndefined(response.data.result.linkedAccounts)) {
@@ -456,6 +457,7 @@ export async function getLinkedAccounts(primaryUser, cards, barcodeStyle, url, l
expired: account.expired,
expires: account.expires,
barcodeStyle: account.barcodeStyle ?? barcodeStyle,
+ homeLocation: account.homeLocation,
};
cardStack.push(card);
} else if (_.includes(cards, account.cat_username) === false) {
@@ -468,6 +470,7 @@ export async function getLinkedAccounts(primaryUser, cards, barcodeStyle, url, l
expired: account.expired,
expires: account.expires,
barcodeStyle: account.barcodeStyle ?? barcodeStyle,
+ homeLocation: account.homeLocation,
};
cardStack.push(card);
}
@@ -1151,4 +1154,4 @@ export async function updateScreenBrightnessStatus(status, url, language = 'en')
console.log(response);
return false;
}
-}
\ No newline at end of file
+}
diff --git a/code/web/release_notes/24.11.00.MD b/code/web/release_notes/24.11.00.MD
index cffa07c955..017d70bcea 100644
--- a/code/web/release_notes/24.11.00.MD
+++ b/code/web/release_notes/24.11.00.MD
@@ -1,4 +1,5 @@
## Aspen LiDA Updates
+- Show home library name of linked accounts on Library Card page. Only show the library logo if it's correct for the home library. (Ticket 128681) (*KP*)
## Aspen Discovery Updates
//mark - grove