SAML: Add onclick action to providercard if the provider is configured (#72734)

* adds missign onclick for provider card

* simplified version
This commit is contained in:
Eric Leijonmarck
2023-08-03 17:40:11 +02:00
committed by GitHub
parent 7bb0ff7055
commit 5d99fdeb46

View File

@@ -89,9 +89,7 @@ export const AuthConfigPageUnconnected = ({ providerStatuses, isLoading, loadSet
authType={provider.protocol}
enabled={providerStatuses[provider.id]?.enabled}
configPath={provider.configPath}
onClick={() => {
onProviderCardClick(provider);
}}
onClick={() => onProviderCardClick(provider)}
/>
))}
</div>
@@ -115,6 +113,7 @@ export const AuthConfigPageUnconnected = ({ providerStatuses, isLoading, loadSet
authType={provider.protocol}
enabled={providerStatuses[provider.id]?.enabled}
configPath={provider.configPath}
onClick={() => onProviderCardClick(provider)}
/>
))}
</div>