Merge pull request #208 from langflow-ai/fix-connect-button-on-settings-page-for-connectors-deux
fix: map the available value to the connector
This commit is contained in:
commit
706d97305a
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
"use client";
|
||||
|
||||
import { ArrowUpRight, Loader2, Minus, Plus } from "lucide-react";
|
||||
import { ArrowUpRight, Loader2, Minus, PlugZap, Plus } from "lucide-react";
|
||||
import Link from "next/link";
|
||||
import { useRouter, useSearchParams } from "next/navigation";
|
||||
import { Suspense, useCallback, useEffect, useState } from "react";
|
||||
|
|
@ -310,6 +310,7 @@ function KnowledgeSourcesPage() {
|
|||
icon: getConnectorIcon(connectorsResult.connectors[type].icon),
|
||||
status: "not_connected" as const,
|
||||
type: type,
|
||||
available: connectorsResult.connectors[type].available,
|
||||
}));
|
||||
|
||||
setConnectors(initialConnectors);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue