mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 02:02:43 +00:00
backport of commit 32059ab250 (#23450)
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
5bf9c25c8b
commit
08dc887a6e
3
changelog/23446.txt
Normal file
3
changelog/23446.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
```release-note:bug
|
||||
ui: Fix bug where a change on OpenAPI added a double forward slash on some LIST endpoints.
|
||||
```
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user