Skip to content

Commit 69d46d1

Browse files
authored
UI: Decode URL in text field for better readability
This PR is a follow-up to #2138. It extends the URL decoding logic to include the edit collection dialogs, ensuring a consistent user experience.
1 parent 28ff21c commit 69d46d1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

radicale/web/internal_data/js/scenes/CreateEditCollectionScene.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export class CreateEditCollectionScene {
196196
this._remove_invalid_types();
197197
this._html_scene.classList.remove("hidden");
198198
if (this._edit && this._title_form) {
199-
this._title_form.textContent = this._collection.displayname || this._collection.href;
199+
this._title_form.textContent = this._collection.displayname || decodeURIComponent(this._collection.href);
200200
}
201201
this._fill_form();
202202
this._submit_btn.onclick = () => this._onsubmit();
@@ -230,4 +230,4 @@ export class CreateEditCollectionScene {
230230
return extract_title(this._collection);
231231
}
232232

233-
}
233+
}

0 commit comments

Comments
 (0)