Skip to content

Commit

Permalink
Merge branch 'main' into ui/VAULT-17315-hds-adoption-replace-Modal
Browse files Browse the repository at this point in the history
  • Loading branch information
hellobontempo committed Oct 2, 2023
2 parents 3fbd27f + 32059ab commit 146e7e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog/23446.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Fix bug where a change on OpenAPI added a double forward slash on some LIST endpoints.
```
2 changes: 1 addition & 1 deletion ui/app/services/path-help.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export default Service.extend({

return generatedItemAdapter.extend({
urlForItem(id, isList, dynamicApiPath) {
const itemType = getPath.path.slice(1);
const itemType = sanitizePath(getPath.path);
let url;
id = encodePath(id);
// the apiPath changes when you switch between routes but the apiPath variable does not unless the model is reloaded
Expand Down

0 comments on commit 146e7e4

Please sign in to comment.