mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
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";
|
||||
// next imports
|
||||
import Link from "next/link";
|
||||
// ui
|
||||
import { PrimaryButton } from "components/ui"; // icons
|
||||
// helpers
|
||||
@ -65,11 +63,11 @@ export const SingleExport: React.FC<Props> = ({ service, refreshing }) => {
|
||||
<>
|
||||
{service.status == "completed" && (
|
||||
<div>
|
||||
<Link href={service?.url}>
|
||||
<a target="_blank" href={service?.url} rel="noopener noreferrer">
|
||||
<PrimaryButton className="w-full text-center">
|
||||
{isLoading ? "Downloading..." : "Download"}
|
||||
</PrimaryButton>
|
||||
</Link>
|
||||
</a>
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
|
@ -27,7 +27,7 @@ const ProfileActivity = () => {
|
||||
|
||||
const { data: userActivity } = useSWR(
|
||||
workspaceSlug ? USER_ACTIVITY : null,
|
||||
workspaceSlug ? () => userService.getUserActivity(workspaceSlug.toString()) : null
|
||||
workspaceSlug ? () => userService.getUserWorkspaceActivity(workspaceSlug.toString()) : null
|
||||
);
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user