don't double encode
This commit is contained in:
@@ -37,7 +37,7 @@ export class UmbPartialViewItemServerDataSource implements UmbItemDataSource<Umb
|
||||
const paths = uniques
|
||||
.map((unique) => {
|
||||
const serverPath = this.#serverFilePathUniqueSerializer.toServerPath(unique);
|
||||
return serverPath ? encodeURI(serverPath) : null;
|
||||
return serverPath ? serverPath : null;
|
||||
})
|
||||
.filter((x) => x !== null) as string[];
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ export class UmbScriptItemServerDataSource implements UmbItemDataSource<UmbScrip
|
||||
const paths = uniques
|
||||
.map((unique) => {
|
||||
const serverPath = this.#serverFilePathUniqueSerializer.toServerPath(unique);
|
||||
return serverPath ? encodeURI(serverPath) : null;
|
||||
return serverPath ? serverPath : null;
|
||||
})
|
||||
.filter((x) => x !== null) as string[];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user