0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

refactor(console): hide backchannel for m2m apps (#6075)

This commit is contained in:
Gao Sun 2024-06-25 10:03:47 +08:00 committed by GitHub
parent 593db0dbee
commit 92dc008545
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -212,7 +212,7 @@ function ApplicationDetailsContent({ data, oidcConfig, onApplicationUpdated }: P
{![ApplicationType.MachineToMachine, ApplicationType.Protected].includes(data.type) && ( {![ApplicationType.MachineToMachine, ApplicationType.Protected].includes(data.type) && (
<RefreshTokenSettings data={data} /> <RefreshTokenSettings data={data} />
)} )}
<BackchannelLogout /> {data.type !== ApplicationType.MachineToMachine && <BackchannelLogout />}
</DetailsForm> </DetailsForm>
</FormProvider> </FormProvider>
{tab === ApplicationDetailsTabs.Settings && ( {tab === ApplicationDetailsTabs.Settings && (