mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 06:26:27 +00:00
Lint fix
This commit is contained in:
@@ -428,7 +428,10 @@ describe("CertificateProfileService", () => {
|
|||||||
service.createProfile({
|
service.createProfile({
|
||||||
...mockActor,
|
...mockActor,
|
||||||
projectId: "project-123",
|
projectId: "project-123",
|
||||||
data: validProfileData
|
data: {
|
||||||
|
...validProfileData,
|
||||||
|
enrollmentType: EnrollmentType.ACME
|
||||||
|
}
|
||||||
})
|
})
|
||||||
).rejects.toThrowError(
|
).rejects.toThrowError(
|
||||||
new BadRequestError({
|
new BadRequestError({
|
||||||
|
|||||||
@@ -112,10 +112,11 @@ export const CreatePkiSyncForm = ({ destination, onComplete, onCancel, initialDa
|
|||||||
});
|
});
|
||||||
|
|
||||||
createNotification({
|
createNotification({
|
||||||
text: `Successfully created ${destinationName} Certificate Sync${certificateIds && certificateIds.length > 0
|
text: `Successfully created ${destinationName} Certificate Sync${
|
||||||
|
certificateIds && certificateIds.length > 0
|
||||||
? ` with ${certificateIds.length} certificate(s)`
|
? ` with ${certificateIds.length} certificate(s)`
|
||||||
: ""
|
: ""
|
||||||
}`,
|
}`,
|
||||||
type: "success"
|
type: "success"
|
||||||
});
|
});
|
||||||
onComplete(pkiSync);
|
onComplete(pkiSync);
|
||||||
@@ -212,9 +213,10 @@ export const CreatePkiSyncForm = ({ destination, onComplete, onCancel, initialDa
|
|||||||
setSelectedTabIndex((prev) => (isEnabled ? index : prev));
|
setSelectedTabIndex((prev) => (isEnabled ? index : prev));
|
||||||
}}
|
}}
|
||||||
className={({ selected }) =>
|
className={({ selected }) =>
|
||||||
`-mb-[0.14rem] whitespace-nowrap ${index > selectedTabIndex ? "opacity-30" : ""} px-4 py-2 text-sm font-medium outline-hidden disabled:opacity-60 ${selected
|
`-mb-[0.14rem] whitespace-nowrap ${index > selectedTabIndex ? "opacity-30" : ""} px-4 py-2 text-sm font-medium outline-hidden disabled:opacity-60 ${
|
||||||
? "border-b-2 border-mineshaft-300 text-mineshaft-200"
|
selected
|
||||||
: "text-bunker-300"
|
? "border-b-2 border-mineshaft-300 text-mineshaft-200"
|
||||||
|
: "text-bunker-300"
|
||||||
}`
|
}`
|
||||||
}
|
}
|
||||||
key={tab.key}
|
key={tab.key}
|
||||||
|
|||||||
Reference in New Issue
Block a user