refactor(search): simplify provider flow

This commit is contained in:
Shoubhit Dash 2026-07-08 14:45:30 +05:30
commit 61676a1d3c
6 changed files with 33 additions and 43 deletions

View file

@ -121,7 +121,7 @@ function manageIntegration(
const sdk = useSDK()
const toast = useToast()
const credentials = credentialConnections(integration)
const selected = () => data.location.search.provider() === integration.id
const selected = createMemo(() => data.location.search.provider() === integration.id)
const selectSearch = () => {
void sdk.api.search
.selectProvider({