remove todo

This commit is contained in:
Lone Iversen
2023-11-13 12:20:27 +01:00
parent d54d557f39
commit f0003dd7f8
3 changed files with 4 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ export class UmbCreateRTFStylesheetAction<T extends { copy(): Promise<void> }> e
async execute() {
if (this.unique !== null) {
// Note: %2f is a slash (/)
this.unique = this.unique.replace(/\//g, '%2f');
}

View File

@@ -8,6 +8,7 @@ export class UmbCreateStylesheetAction<T extends { copy(): Promise<void> }> exte
async execute() {
if (this.unique !== null) {
// Note: %2f is a slash (/)
this.unique = this.unique.replace(/\//g, '%2f');
}

View File

@@ -47,8 +47,8 @@ export class UmbStylesheetWorkspaceContext
const path = this.getData()?.path?.replace(/\//g, '%2f');
const name = this.getData()?.name;
// TODO: %2F is a slash (/). Should we make it an actual slash in the URL? (%2F for now so that the server can find the correct stylesheet via URL)
return path && name ? `${path}%2F${name}` : name || '';
// Note: %2f is a slash (/)
return path && name ? `${path}%2f${name}` : name || '';
}
getData() {