mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-14 08:25:03 -05:00
remove credential no access marker
This commit is contained in:
@@ -149,7 +149,6 @@ export function CredentialSelector({
|
||||
if (selectedCredentialSet) return selectedCredentialSet.name
|
||||
if (selectedCredential) return selectedCredential.name
|
||||
if (inaccessibleCredentialName) return inaccessibleCredentialName
|
||||
if (selectedId && !credentialsLoading) return 'Credential (no access)'
|
||||
return ''
|
||||
}, [
|
||||
selectedCredentialSet,
|
||||
|
||||
@@ -117,7 +117,6 @@ export function ToolCredentialSelector({
|
||||
const resolvedLabel = useMemo(() => {
|
||||
if (selectedCredential) return selectedCredential.name
|
||||
if (inaccessibleCredentialName) return inaccessibleCredentialName
|
||||
if (selectedId && !credentialsLoading) return 'Credential (no access)'
|
||||
return ''
|
||||
}, [selectedCredential, inaccessibleCredentialName, selectedId, credentialsLoading])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user