Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Better implementation of redirect to participate tab if user has not participated in the challenge #171

Open
Sanji515 opened this issue Jul 15, 2019 · 0 comments

Comments

@Sanji515
Copy link
Member

Sanji515 commented Jul 15, 2019

Current behaviour

As for current implementation to redirect the user to participate tab if he has not participated in the challenge, it checks for all the possible urls related to a particular tab of a challenge(in this case view all submissions tab) and then redirect to participate tab related to it. Please look at the link to see the current implementation in the code.

Expected behaviour

A better implementation can be it should check the current url and if user has not participated then it should directly redirect to participate tab

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant