[WEB-3849] chore: added intake source in the list (#6919)

* chore: added intake source in the list

* fix: refactor
This commit is contained in:
Akshita Goyal 2025-04-11 19:49:35 +05:30 committed by GitHub
parent 915e374485
commit ed8d00acb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 2 deletions

View file

@ -6,6 +6,7 @@ import { observer } from "mobx-react";
import { EInboxIssueSource } from "@plane/constants";
import { LayersIcon } from "@plane/ui";
// hooks
import { capitalizeFirstLetter } from "@plane/utils";
import { useIssueDetail } from "@/hooks/store";
// local imports
import { IssueActivityBlockComponent } from "./";
@ -34,7 +35,8 @@ export const IssueDefaultActivity: FC<TIssueDefaultActivity> = observer((props)
{activity.verb === "created" ? (
source && source !== EInboxIssueSource.IN_APP ? (
<span>
created the work item via <span className="font-medium">{source.toLowerCase()}</span>.
created the work item via{" "}
<span className="font-medium">{capitalizeFirstLetter(source.toLowerCase() || "")}</span>.
</span>
) : (
<span> created the work item.</span>