Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Jul 5, 2024
1 parent 39e6313 commit 1c139b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions views/partials/oauth_form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -423,15 +423,15 @@

<p>
To enable webhooks for email accounts managed by this app, EmailEngine needs to set up a Cloud Pub/Sub
service using a Gmail Service Account with the <em>/auth/pubsub</em> scope. Select the Gmail Pub/Sub Service
service using a Gmail Service Account with the <em>Pub/Sub Admin</em> role. Select the Gmail Pub/Sub Service
Account below to configure this.
</p>

<label for="basic-url">Select service account to manage webhooks</label>
<select class="custom-select custom-select-sm" id="pubSubApp" name="pubSubApp" {{#if
errors.pubSubApp}}is-invalid{{/if}} required {{#unless baseScopesApi}}disabled{{/unless}}>

<option value=""> &mdash; Select service account for your project &mdash; </option>
<option value=""> &mdash; Select the service account for your project &mdash; </option>

{{#each pubSubApps}}
<option value="{{id}}" data-project="{{googleProjectId}}" {{#if selected}}selected{{/if}} {{#unless
Expand Down Expand Up @@ -566,7 +566,7 @@
}
let projectId = projectIdElm.value;
if (projectId) {
let unselected = !pubSubAppElm.value
let unselected = !pubSubAppElm.value;
pubSubAppElm.querySelectorAll('option').forEach(entry => {
if (entry.value && entry.dataset.project !== projectId) {
entry.disabled = true;
Expand Down

0 comments on commit 1c139b5

Please sign in to comment.