Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

improve toast wording

x032205c6b04c0c8996
diff --git a/frontend/src/pages/organization/SecretSharingPage/components/SecretSharingSettings/SecretSharingBrandingSection.tsx b/frontend/src/pages/organization/SecretSharingPage/components/SecretSharingSettings/SecretSharingBrandingSection.tsx
index fea4cc7f76..fd67dc703c 100644
--- a/frontend/src/pages/organization/SecretSharingPage/components/SecretSharingSettings/SecretSharingBrandingSection.tsx
+++ b/frontend/src/pages/organization/SecretSharingPage/components/SecretSharingSettings/SecretSharingBrandingSection.tsx
@@ -260,7 +260,7 @@ export const SecretSharingBrandingSection = () => {
const handleFileUpload = async (assetType: "brand-logo" | "brand-favicon", file: File) => {
await uploadAsset({ assetType, file });
createNotification({
- text: `Successfully uploaded ${assetType}`,
+ text: `Successfully uploaded ${assetType.replace("brand-", "")}`,
type: "success"
});
};
@@ -268,7 +268,7 @@ export const SecretSharingBrandingSection = () => {
const handleFileDelete = async (assetType: "brand-logo" | "brand-favicon") => {
await deleteAsset({ assetType });
createNotification({
- text: `Successfully deleted ${assetType}`,
+ text: `Successfully deleted ${assetType.replace("brand-", "")}`,
type: "success"
});
};