The best I could figure in the meantime
Hey @trentrichardson, and thanks for the response! The best I could figure in the meantime was to initialize the prompt differently in each branch, like so:
if (user.isSignedIn) {
states = {
signOut: states.signOut,
signIn: states.signIn,
register: states.register
};
} else {
states = {
signIn: states.signIn,
signOut: states.signOut,
register: states.register
};
}
thePrompt = $.prompt(states);
But it’s definitely better to have true support for this in the extension itself. Excellent!