FIX: use last value in email-in chain
This commit is contained in:
Родитель
143acfa516
Коммит
07eb77c2b8
|
@ -10,7 +10,7 @@ export default {
|
|||
var logged_in = !!Discourse.User.current()
|
||||
logged_in ? component.set('logged_in', true) : component.set('logged_in', false)
|
||||
|
||||
var email_in = args.category.email_in
|
||||
var email_in = args.category.email_in.split("|").pop()
|
||||
component.set('mailto', `mailto:${email_in}`)
|
||||
|
||||
var email_in_allow_strangers = args.category.email_in_allow_strangers
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# name: expose-emails-in
|
||||
# about: Discourse plugin which exposes category emails-in in useful ways
|
||||
# version: 0.0.3
|
||||
# version: 0.0.4
|
||||
# authors: Leo McArdle
|
||||
# url: https://github.com/mozilla/discourse-expose-emails-in
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче