diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index a23b80821..dd7ea9359 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -152,8 +152,9 @@ session: title_plural: Credentials secret: label: Secret + credential_library: + title: Credential Library actions: - detail: Credential library details raw-api: show: View raw API output hide: Hide raw API output diff --git a/ui/desktop/app/templates/scopes/scope/projects/targets.hbs b/ui/desktop/app/templates/scopes/scope/projects/targets.hbs index b4c0f1a7e..e26742ea1 100644 --- a/ui/desktop/app/templates/scopes/scope/projects/targets.hbs +++ b/ui/desktop/app/templates/scopes/scope/projects/targets.hbs @@ -1,5 +1,3 @@ -{{! template-lint-disable no-bare-strings }} - {{page-title (t 'resources.target.title_plural')}} {{#each @model as |target|}} @@ -51,7 +49,9 @@ > <:header> {{t 'form.type.label'}} <:value>{{credential.library.type}} - - <:key>{{t 'form.name.label'}} - <:value>{{credential.library.name}} - - - <:key>{{t 'form.description.label'}} - <:value>{{credential.library.description}} - + {{#if credential.library.name}} + + <:key>{{t 'form.name.label'}} + <:value>{{credential.library.name}} + + {{/if}} + {{#if credential.library.description}} + + <:key>{{t 'form.description.label'}} + <:value>{{credential.library.description}} + + {{/if}} <:body> diff --git a/ui/desktop/electron-app/config/cli.js b/ui/desktop/electron-app/config/cli.js index 22092de64..9af356e9e 100644 --- a/ui/desktop/electron-app/config/cli.js +++ b/ui/desktop/electron-app/config/cli.js @@ -48,6 +48,10 @@ const extract = (artifactPath, destination) => { module.exports = { setup: async () => { + if (process.env.BYPASS_CLI_SETUP) { + console.warn('WARNING: Bypassing cli setup'); + return; + } const artifactPath = await downloadArtifact(artifactVersion); await extract(artifactPath, artifactDestination); }