accounted for not scopes in databricks use case

This commit is contained in:
Vladyslav Matsiiako
2024-10-04 00:27:17 -07:00
parent 4aeb2bf65e
commit 2d2f27ea46
2 changed files with 6 additions and 5 deletions
@@ -170,7 +170,7 @@ export default function DatabricksCreateIntegrationPage() {
setTargetScope(val);
}}
className="w-full border border-mineshaft-500"
placeholder="Select scope..."
placeholder={integrationAuthScopes.length === 0 ? "No scopes found." : "Select scope..."}
isDisabled={integrationAuthScopes.length === 0}
>
{integrationAuthScopes.length > 0 ? (