feat: updated ui for replication approval

This commit is contained in:
=
2025-06-05 03:44:54 +05:30
parent caeda09b21
commit 696bbcb072
4 changed files with 149 additions and 76 deletions

View File

@@ -8,6 +8,11 @@ export const formatReservedPaths = (secretPath: string) => {
return secretPath;
};
export const parsePathFromReplicatedPath = (secretPath: string) => {
const i = secretPath.indexOf(ReservedFolders.SecretReplication);
return secretPath.slice(0, i);
};
export const camelCaseToSpaces = (input: string) => {
return input.replace(/([a-z])([A-Z])/g, "$1 $2");
};