mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Added regenerate copy tweak for internal Zapier integration
no issue - Updates dialog copy for confirmation of regenerating internal Zapier integration admin key
This commit is contained in:
parent
ae1afac049
commit
6b90aafd20
@ -13,6 +13,7 @@ export default ModalComponent.extend({
|
||||
confirm: () => {},
|
||||
apiKey: alias('model.apiKey'),
|
||||
integration: alias('model.integration'),
|
||||
internalIntegration: alias('model.internalIntegration'),
|
||||
actions: {
|
||||
confirm() {
|
||||
this.regenerateApiKey.perform();
|
||||
|
@ -5,7 +5,11 @@
|
||||
|
||||
<div class="modal-body">
|
||||
<p>
|
||||
You can rengenerate <strong>{{capitalize this.apiKey.type}} API Key</strong> any time, but any scripts or applications using it will need to be updated.
|
||||
{{#if (eq this.internalIntegration "zapier")}}
|
||||
You will need to locate the Ghost App within your Zapier account and click on "Reconnect" to enter the new Admin API Key.
|
||||
{{else}}
|
||||
You can rengenerate <strong>{{capitalize this.apiKey.type}} API Key</strong> any time, but any scripts or applications using it will need to be updated.
|
||||
{{/if}}
|
||||
</p>
|
||||
{{#if this.errorMessage}}
|
||||
<p class='red'> {{this.errorMessage}}</p>
|
||||
|
@ -95,6 +95,7 @@
|
||||
@model={{hash
|
||||
apiKey=this.selectedApiKey
|
||||
integration=this.integration
|
||||
internalIntegration="zapier"
|
||||
}}
|
||||
@confirm={{action "regenerateKey"}}
|
||||
@close={{action "cancelRegenerateKeyModal"}}
|
||||
|
Loading…
Reference in New Issue
Block a user