diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/utils/server-path-unique-serializer.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/utils/server-path-unique-serializer.ts index 5fdf17b767..a6d348a99f 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/utils/server-path-unique-serializer.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/utils/server-path-unique-serializer.ts @@ -1,5 +1,3 @@ -import { getParentPathFromServerPath } from './parent-path-from-server-path.function.js'; - export class UmbServerPathUniqueSerializer { #magicDot = '%dot%'; @@ -14,22 +12,6 @@ export class UmbServerPathUniqueSerializer { return encodeURIComponent(urlSafeServerPath); } - /** - * Converts a server path to the a unique parent path URL friendly string that can be used in the client - * @param {string} serverPath - * @return {*} {(string | null)} - * @memberof UmbServerPathUniqueSerializer - */ - toParentUnique(serverPath: string): string | null { - const parentPath = getParentPathFromServerPath(serverPath); - - if (parentPath) { - return this.toUnique(parentPath); - } else { - return null; - } - } - /** * Converts a unique URL friendly string to a server path * @param {string} serverPathUnique