mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-25 11:16:43 +02:00
Fix GitLabs CI (#965)
This commit is contained in:
@@ -108,7 +108,8 @@ const Main = () => {
|
||||
formBody={
|
||||
<>
|
||||
<Text>
|
||||
If you are using GitLab Cloud, keep the default value below</Text>
|
||||
If you are using GitLab Cloud, keep the default value below
|
||||
</Text>
|
||||
<TextFormField
|
||||
name="gitlab_url"
|
||||
label="GitLab URL:"
|
||||
@@ -131,7 +132,7 @@ const Main = () => {
|
||||
})}
|
||||
initialValues={{
|
||||
gitlab_access_token: "",
|
||||
gitlab_url: "https://gitlab.com"
|
||||
gitlab_url: "https://gitlab.com",
|
||||
}}
|
||||
onSubmit={(isSuccess) => {
|
||||
if (isSuccess) {
|
||||
|
@@ -45,7 +45,7 @@ export const ConnectorTitle = ({
|
||||
"Repo",
|
||||
`${typedConnector.connector_specific_config.project_owner}/${typedConnector.connector_specific_config.project_name}`
|
||||
);
|
||||
} else if (connector.source === "confluence") {
|
||||
} else if (connector.source === "confluence") {
|
||||
const typedConnector = connector as Connector<ConfluenceConfig>;
|
||||
additionalMetadata.set(
|
||||
"Wiki URL",
|
||||
|
@@ -356,7 +356,6 @@ export const GithubIcon = ({
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
export const GoogleDriveIcon = ({
|
||||
size = 16,
|
||||
className = defaultTailwindCSS,
|
||||
|
@@ -61,10 +61,10 @@ const SOURCE_METADATA_MAP: SourceMap = {
|
||||
displayName: "Github",
|
||||
category: SourceCategory.AppConnection,
|
||||
},
|
||||
gitlab :{
|
||||
icon:GitlabIcon,
|
||||
displayName:"Gitlab",
|
||||
category:SourceCategory.AppConnection,
|
||||
gitlab: {
|
||||
icon: GitlabIcon,
|
||||
displayName: "Gitlab",
|
||||
category: SourceCategory.AppConnection,
|
||||
},
|
||||
confluence: {
|
||||
icon: ConfluenceIcon,
|
||||
|
@@ -85,7 +85,6 @@ export interface GitlabConfig {
|
||||
include_issues: boolean;
|
||||
}
|
||||
|
||||
|
||||
export interface GoogleDriveConfig {
|
||||
folder_paths?: string[];
|
||||
include_shared?: boolean;
|
||||
@@ -199,7 +198,7 @@ export interface GithubCredentialJson {
|
||||
}
|
||||
|
||||
export interface GitlabCredentialJson {
|
||||
gitlab_url:string,
|
||||
gitlab_url: string;
|
||||
gitlab_access_token: string;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user