FIX: Try to match advanced tutorial reset first (#8048)

Advanced trigger is currently broken on:

    ca
    es
    et
    fr
    he
    it
    pt_BR

And that is because the translation levels for the plugin are kinda low, so I would guess it's broken for half the languages.

Since we have only two tracks for a while now, a quick fix to me is inverting the selectors.

This patch works because the advanced key is "larger" than the new user one.
This commit is contained in:
Rafael dos Santos Silva 2019-10-01 22:55:48 -03:00 committed by Sam
parent 90a8852b63
commit 45ff119f27

View File

@ -8,8 +8,8 @@ module DiscourseNarrativeBot
PUBLIC_DISPLAY_BOT_HELP_KEY = 'discourse-narrative-bot:track-selector:display-bot-help'.freeze
TRACKS = [
NewUserNarrative,
AdvancedUserNarrative
AdvancedUserNarrative,
NewUserNarrative
]
TOPIC_ACTIONS = [