Skip to content

Commit

Permalink
Add support for node properties with people picker for EC2 (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
timja authored Dec 19, 2023
1 parent 7b29ca5 commit 92b39ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/frontend/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,16 @@ document.addEventListener('DOMContentLoaded', () => {
})
const currentUrl = window.location.href

// GraphProxy is either a root action or at the job level
// GraphProxy is either a root action or at an item level
const endStrippedCurrentUrl = currentUrl
.replace('configureSecurity/', '')
.replace('configure', '')
.replace('pipeline-syntax/', '')
.replace('manage/cloud/create', '')
.replace('cloud/create', '')
.replace('computer/createItem', '');


Providers.globalProvider = new ProxyProvider(`${endStrippedCurrentUrl}/GraphProxy`, async () => {
return {
[document.head.dataset.crumbHeader as string]: document.head.dataset.crumbValue,
Expand Down

0 comments on commit 92b39ad

Please sign in to comment.