Fix multi-workspace-registration (#19685)

## Before

<img width="1512" height="915" alt="image"
src="https://github.com/user-attachments/assets/5cb05f76-b672-404e-b31d-ca455802f97a"
/>


## After

<img width="1512" height="726" alt="image"
src="https://github.com/user-attachments/assets/58229c4c-3ac6-4428-9c4d-3586a2b9ee36"
/>
This commit is contained in:
martmull
2026-04-14 14:41:19 +02:00
committed by GitHub
parent 762de40c3d
commit b3354ab6e7
13 changed files with 210 additions and 56 deletions
@@ -80,7 +80,7 @@ export const SettingsAdminApps = () => {
<UndecoratedLink
key={registration.id}
to={getSettingsPath(
SettingsPath.ApplicationRegistrationDetail,
SettingsPath.AdminPanelApplicationRegistrationDetail,
{ applicationRegistrationId: registration.id },
)}
fullWidth
@@ -0,0 +1,9 @@
import { SettingsPath } from 'twenty-shared/types';
import { getSettingsPath } from 'twenty-shared/utils';
export const APPLICATION_REGISTRATION_ADMIN_PATH = getSettingsPath(
SettingsPath.AdminPanel,
undefined,
undefined,
'apps',
);
@@ -0,0 +1,12 @@
import { gql } from '@apollo/client';
import { APPLICATION_REGISTRATION_FRAGMENT } from '@/settings/application-registrations/graphql/fragments/applicationRegistrationFragment';
export const FIND_ONE_ADMIN_APPLICATION_REGISTRATION = gql`
query FindOneAdminApplicationRegistration($id: String!) {
findOneAdminApplicationRegistration(id: $id) {
...ApplicationRegistrationFragment
}
}
${APPLICATION_REGISTRATION_FRAGMENT}
`;