mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-09 20:39:29 +02:00
Prettier fix
This commit is contained in:
parent
442f7595cc
commit
efb52873dd
@ -4,7 +4,11 @@ import useSWR, { useSWRConfig } from "swr";
|
||||
import * as Yup from "yup";
|
||||
|
||||
import { LoadingAnimation } from "@/components/Loading";
|
||||
import { GlobeIcon, GearIcon, ArrowSquareOutIcon } from "@/components/icons/icons";
|
||||
import {
|
||||
GlobeIcon,
|
||||
GearIcon,
|
||||
ArrowSquareOutIcon,
|
||||
} from "@/components/icons/icons";
|
||||
import { fetcher } from "@/lib/fetcher";
|
||||
import {
|
||||
SelectorFormField,
|
||||
@ -32,7 +36,7 @@ export default function Web() {
|
||||
"/api/manage/admin/connector/indexing-status",
|
||||
fetcher
|
||||
);
|
||||
|
||||
|
||||
const webIndexingStatuses: ConnectorIndexingStatus<WebConfig, {}>[] =
|
||||
connectorIndexingStatuses?.filter(
|
||||
(connectorIndexingStatus) =>
|
||||
@ -119,15 +123,26 @@ export default function Web() {
|
||||
{
|
||||
header: "Base URL",
|
||||
key: "base_url",
|
||||
getValue: (ccPairStatus: ConnectorIndexingStatus<WebConfig, any>) => {
|
||||
getValue: (
|
||||
ccPairStatus: ConnectorIndexingStatus<WebConfig, any>
|
||||
) => {
|
||||
const connectorConfig =
|
||||
ccPairStatus.connector.connector_specific_config;
|
||||
return (
|
||||
<div className="flex w-fit"><a className="text-blue-500 ml-1 my-auto flex" href={connectorConfig.base_url}>
|
||||
{connectorConfig.base_url}
|
||||
<ArrowSquareOutIcon className="my-auto flex flex-shrink-0 text-blue-500" />
|
||||
</a>
|
||||
<a className="my-auto" href={`/admin/connector/${ccPairStatus.cc_pair_id}`}><GearIcon className="ml-2 my-auto flex flex-shrink-0 text-gray-400" /></a>
|
||||
<div className="flex w-fit">
|
||||
<a
|
||||
className="text-blue-500 ml-1 my-auto flex"
|
||||
href={connectorConfig.base_url}
|
||||
>
|
||||
{connectorConfig.base_url}
|
||||
<ArrowSquareOutIcon className="my-auto flex flex-shrink-0 text-blue-500" />
|
||||
</a>
|
||||
<a
|
||||
className="my-auto"
|
||||
href={`/admin/connector/${ccPairStatus.cc_pair_id}`}
|
||||
>
|
||||
<GearIcon className="ml-2 my-auto flex flex-shrink-0 text-gray-400" />
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
@ -97,7 +97,7 @@ export const ArrowSquareOutIcon = ({
|
||||
className = defaultTailwindCSS,
|
||||
}: IconProps) => {
|
||||
return <ArrowSquareOut size={size} className={className} />;
|
||||
}
|
||||
};
|
||||
|
||||
export const TrashIcon = ({
|
||||
size = 16,
|
||||
|
Loading…
x
Reference in New Issue
Block a user