forked from github/plane
bugfix: Export download next link changed to anchor (#2000)
* bugfix: Export download next link changd to anchot * bugfix: user workspace service name update --------- Co-authored-by: srinivaspendem <you@example.comsrinivaspendem2612@gmail.com>
This commit is contained in:
parent
8a3b65a740
commit
b2e5760391
@ -1,6 +1,4 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
// next imports
|
|
||||||
import Link from "next/link";
|
|
||||||
// ui
|
// ui
|
||||||
import { PrimaryButton } from "components/ui"; // icons
|
import { PrimaryButton } from "components/ui"; // icons
|
||||||
// helpers
|
// helpers
|
||||||
@ -65,11 +63,11 @@ export const SingleExport: React.FC<Props> = ({ service, refreshing }) => {
|
|||||||
<>
|
<>
|
||||||
{service.status == "completed" && (
|
{service.status == "completed" && (
|
||||||
<div>
|
<div>
|
||||||
<Link href={service?.url}>
|
<a target="_blank" href={service?.url} rel="noopener noreferrer">
|
||||||
<PrimaryButton className="w-full text-center">
|
<PrimaryButton className="w-full text-center">
|
||||||
{isLoading ? "Downloading..." : "Download"}
|
{isLoading ? "Downloading..." : "Download"}
|
||||||
</PrimaryButton>
|
</PrimaryButton>
|
||||||
</Link>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
|
@ -27,7 +27,7 @@ const ProfileActivity = () => {
|
|||||||
|
|
||||||
const { data: userActivity } = useSWR(
|
const { data: userActivity } = useSWR(
|
||||||
workspaceSlug ? USER_ACTIVITY : null,
|
workspaceSlug ? USER_ACTIVITY : null,
|
||||||
workspaceSlug ? () => userService.getUserActivity(workspaceSlug.toString()) : null
|
workspaceSlug ? () => userService.getUserWorkspaceActivity(workspaceSlug.toString()) : null
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user