fix: replacing jira importer image (#2685)

This commit is contained in:
sriram veeraghanta 2023-11-07 14:35:04 +05:30 committed by GitHub
parent 4de64f112f
commit 040563d148
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 25 additions and 25 deletions

View file

@ -1,11 +1,8 @@
import { useState } from "react";
import Link from "next/link";
import Image from "next/image";
import { useRouter } from "next/router";
import useSWR, { mutate } from "swr";
// hooks
import useUserAuth from "hooks/use-user-auth";
// services
@ -21,7 +18,7 @@ import { IImporterService } from "types";
// fetch-keys
import { IMPORTER_SERVICES_LIST } from "constants/fetch-keys";
// constants
import { IMPORTERS_EXPORTERS_LIST } from "constants/workspace";
import { IMPORTERS_LIST } from "constants/workspace";
// services
const integrationService = new IntegrationService();
@ -76,7 +73,7 @@ const IntegrationGuide = () => {
</div>
</a>
</div> */}
{IMPORTERS_EXPORTERS_LIST.map((service) => (
{IMPORTERS_LIST.map((service) => (
<div
key={service.provider}
className="flex items-center justify-between gap-2 border-b border-custom-border-100 bg-custom-background-100 px-4 py-6"

View file

@ -1,25 +1,15 @@
import React, { useState } from "react";
// next
import Link from "next/link";
import Image from "next/image";
import { useRouter } from "next/router";
// swr
import { mutate } from "swr";
// react hook form
import { FormProvider, useForm } from "react-hook-form";
// icons
import { ArrowLeft, Check, List, Settings } from "lucide-react";
// services
import { JiraImporterService } from "services/integrations";
// fetch keys
import { IMPORTER_SERVICES_LIST } from "constants/fetch-keys";
// components
import { Button, UserGroupIcon } from "@plane/ui";
import {
@ -31,9 +21,9 @@ import {
TJiraIntegrationSteps,
IJiraIntegrationData,
} from ".";
import JiraLogo from "public/services/jira.png";
// assets
import JiraLogo from "public/services/jira.svg";
// types
import { IUser, IJiraImporterForm } from "types";
const integrationWorkflowData: Array<{

View file

@ -7,7 +7,7 @@ import { renderShortDateWithYearFormat } from "helpers/date-time.helper";
// types
import { IImporterService } from "types";
// constants
import { IMPORTERS_EXPORTERS_LIST } from "constants/workspace";
import { IMPORTERS_LIST } from "constants/workspace";
type Props = {
service: IImporterService;
@ -21,10 +21,8 @@ export const SingleImport: React.FC<Props> = ({ service, refreshing, handleDelet
<h4 className="flex items-center gap-2 text-sm">
<span>
Import from{" "}
<span className="font-medium">
{IMPORTERS_EXPORTERS_LIST.find((i) => i.provider === service.service)?.title}
</span>{" "}
to <span className="font-medium">{service.project_detail.name}</span>
<span className="font-medium">{IMPORTERS_LIST.find((i) => i.provider === service.service)?.title}</span> to{" "}
<span className="font-medium">{service.project_detail.name}</span>
</span>
<span
className={`rounded px-2 py-0.5 text-xs capitalize ${