chore: format files using prettier (#7364)
* chore: format files using prettier * chore: api server files formatted
This commit is contained in:
parent
0225d806cc
commit
6ce700fd5d
149 changed files with 1518 additions and 919 deletions
|
|
@ -1 +1 @@
|
|||
export * from "./subscription-pill";
|
||||
export * from "./subscription-pill";
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ export const ProductUpdatesHeader = observer(() => {
|
|||
<div className="flex gap-2 mx-6 my-4 items-center justify-between flex-shrink-0">
|
||||
<div className="flex w-full items-center">
|
||||
<div className="flex gap-2 text-xl font-medium">{t("whats_new")}</div>
|
||||
<div
|
||||
<div
|
||||
className={cn(
|
||||
"px-2 mx-2 py-0.5 text-center text-xs font-medium rounded-full bg-custom-primary-100/20 text-custom-primary-100"
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -4,5 +4,9 @@ import packageJson from "package.json";
|
|||
|
||||
export const PlaneVersionNumber: React.FC = () => {
|
||||
const { t } = useTranslation();
|
||||
return <span>{t("version")}: v{packageJson.version}</span>;
|
||||
return (
|
||||
<span>
|
||||
{t("version")}: v{packageJson.version}
|
||||
</span>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
export * from "./root";
|
||||
export * from "./root";
|
||||
|
|
|
|||
|
|
@ -2,4 +2,3 @@ export * from "./provider";
|
|||
export * from "./issue-type-select";
|
||||
export * from "./additional-properties";
|
||||
export * from "./template-select";
|
||||
|
||||
|
|
|
|||
|
|
@ -5,13 +5,17 @@ export const getRelationActivityContent = (activity: TIssueActivity | undefined)
|
|||
|
||||
switch (activity.field) {
|
||||
case "blocking":
|
||||
return activity.old_value === "" ? `marked this work item is blocking work item ` : `removed the blocking work item `;
|
||||
return activity.old_value === ""
|
||||
? `marked this work item is blocking work item `
|
||||
: `removed the blocking work item `;
|
||||
case "blocked_by":
|
||||
return activity.old_value === ""
|
||||
? `marked this work item is being blocked by `
|
||||
: `removed this work item being blocked by work item `;
|
||||
case "duplicate":
|
||||
return activity.old_value === "" ? `marked this work item as duplicate of ` : `removed this work item as a duplicate of `;
|
||||
return activity.old_value === ""
|
||||
? `marked this work item as duplicate of `
|
||||
: `removed this work item as a duplicate of `;
|
||||
case "relates_to":
|
||||
return activity.old_value === "" ? `marked that this work item relates to ` : `removed the relation from `;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
export type TRenderSettingsLink = (workspaceSlug: string, settingKey: string) => boolean;
|
||||
export const shouldRenderSettingLink: TRenderSettingsLink = (workspaceSlug, settingKey) => true;
|
||||
export const shouldRenderSettingLink: TRenderSettingsLink = (workspaceSlug, settingKey) => true;
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
export * from "./estimate.service";
|
||||
export * from "./view.service";
|
||||
export * from "./view.service";
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@ import { IPartialProject, IProject } from "@plane/types";
|
|||
|
||||
export type TPartialProject = IPartialProject;
|
||||
|
||||
export type TProject = TPartialProject & IProject;
|
||||
export type TProject = TPartialProject & IProject;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue