0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-26 02:50:28 +01:00

Merge pull request #199 from OsamaSayegh/dev/replace-deprecated-component

DEV: Replace `{{user-selector}}` with `{{email-group-user-chooser}}`
Dieser Commit ist enthalten in:
Angus McLeod 2022-07-29 17:28:48 +01:00 committet von GitHub
Commit 3fec341e97
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
3 geänderte Dateien mit 8 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -377,7 +377,7 @@ export default Component.extend({
this.changeValue(event.target.value); this.changeValue(event.target.value);
}, },
changeUserValue(previousValue, value) { changeUserValue(value) {
this.changeValue(value); this.changeValue(value);
}, },
}, },

Datei anzeigen

@ -66,11 +66,13 @@
{{/if}} {{/if}}
{{#if showUser}} {{#if showUser}}
{{user-selector {{email-group-user-chooser
includeMessageableGroups="true"
placeholderKey=placeholderKey placeholderKey=placeholderKey
usernames=value value=value
autocomplete="discourse" autocomplete="discourse"
onChangeCallback=(action "changeUserValue")}} onChange=(action "changeUserValue")
options=(hash
includeMessageableGroups="true"
)}}
{{/if}} {{/if}}
</div> </div>

Datei anzeigen

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
# name: discourse-custom-wizard # name: discourse-custom-wizard
# about: Create custom wizards # about: Create custom wizards
# version: 1.22.0 # version: 1.22.1
# authors: Angus McLeod # authors: Angus McLeod
# url: https://github.com/paviliondev/discourse-custom-wizard # url: https://github.com/paviliondev/discourse-custom-wizard
# contact emails: angus@pavilion.tech # contact emails: angus@pavilion.tech