mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
feat: updated ui for replication approval
This commit is contained in:
@@ -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");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user