Skip to content

Commit

Permalink
remove last fix & add a better
Browse files Browse the repository at this point in the history
  • Loading branch information
clement-hvt committed Jul 19, 2023
1 parent fbb687e commit 2bdc7f8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion camel/Output/OutputEndpointData.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public static function fromExtractedEndpointArray(array $endpoint): OutputEndpoi

public function endpointId(): string
{
return $this->httpMethods[0] . str_replace(['/', '?', '{', '}', ':', '\\', '+', '|'], '-', $this->uri);
return $this->httpMethods[0] . str_replace(['/', '?', '{', '}', ':', '\\', '+', '|', '.'], '-', $this->uri);
}

public function name(): string
Expand Down
1 change: 0 additions & 1 deletion resources/js/tryitout.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ function getCookie(name) {
}

function tryItOut(endpointId) {
endpointId = endpointId.replaceAll('.', '\\.');
document.querySelector(`#btn-tryout-${endpointId}`).hidden = true;
document.querySelector(`#btn-canceltryout-${endpointId}`).hidden = false;
const executeBtn = document.querySelector(`#btn-executetryout-${endpointId}`).hidden = false;
Expand Down

0 comments on commit 2bdc7f8

Please sign in to comment.