added a teams link to the breadcrumbs trail when the team page was used to navigate to something (the team is in the url)

This commit is contained in:
csawatzky 2025-03-06 12:30:16 -06:00
parent b0274ad639
commit b6c1f44e03
3 changed files with 36 additions and 10 deletions

View file

@ -219,7 +219,7 @@ export default function DeviceComponent() {
true
);
let userPromise = userAPI.getUser(user.settings.id, deviceScope(deviceID.toString()));
let prefPromise = deviceAPI.listDeviceComponentPreferences(deviceID);
let prefPromise = deviceAPI.listDeviceComponentPreferences(deviceID, getContextKeys().slice(0, -1), getContextTypes().slice(0, -1));
Promise.all([componentsPromise, userPromise, prefPromise])
.then((responses: any) => {
const rawComponents: Array<any> = or(responses[0].data.components, []).sort(