fix: workspace settings bugs (#2743)
* fix: double layout in exports * fix: typo in jira email address section * fix: workspace members not mutating * fix: removed un-used variable * fix: workspace members can't be filtered using email * fix: autocomplete in workspace delete * fix: autocomplete in project delete modal * fix: update member function in store * fix: sidebar link not active when in github/jira * style: margin top & icon inconsistency * fix: typo in create workspace * fix: workspace leave flow * fix: redirection to delete issue * fix: autocomplete off in jira api token * refactor: reduced api call, added optional chaining & removed variable with low scope
This commit is contained in:
parent
4d35c931cd
commit
21988e8528
12 changed files with 96 additions and 51 deletions
|
|
@ -42,9 +42,12 @@ const IssueLink = ({ activity }: { activity: IIssueActivity }) => {
|
|||
return (
|
||||
<Tooltip tooltipContent={activity.issue_detail ? activity.issue_detail.name : "This issue has been deleted"}>
|
||||
<a
|
||||
href={`/${workspaceSlug}/projects/${activity.project}/issues/${activity.issue}`}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
aria-disabled={activity.issue === null}
|
||||
href={`${
|
||||
activity.issue_detail ? `/${workspaceSlug}/projects/${activity.project}/issues/${activity.issue}` : "#"
|
||||
}`}
|
||||
target={activity.issue === null ? "_self" : "_blank"}
|
||||
rel={activity.issue === null ? "" : "noopener noreferrer"}
|
||||
className="font-medium text-custom-text-100 inline-flex items-center gap-1 hover:underline"
|
||||
>
|
||||
{activity.issue_detail ? `${activity.project_detail.identifier}-${activity.issue_detail.sequence_id}` : "Issue"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue