FIX: Auto-Create Support Campaign button (#206)

The Auto-Create Support Campaign button was just showing an infinite "is
loading" spinner so you couldn't even click on it.

This fix allows the button to work again and only show the loading
spinner when it is actually loading.

See: https://meta.discourse.org/t/discourse-subscriptions/140818/653?u=blake
This commit is contained in:
Blake Erickson 2024-04-30 09:27:04 -06:00 committed by GitHub
parent 7ee0b696ba
commit b1920caf7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
@label="discourse_subscriptions.campaign.one_click_campaign" @label="discourse_subscriptions.campaign.one_click_campaign"
@icon="plus-square" @icon="plus-square"
@action={{action "createOneClickCampaign"}} @action={{action "createOneClickCampaign"}}
@isLoading="loading" @isLoading={{loading}}
/> />
{{/unless}} {{/unless}}
{{/if}} {{/if}}