Skip to content

Modify Main page to go to result page if user already voted #18

@RebeccaSyria

Description

@RebeccaSyria

If a user has already voted, they should be able to click a button for "view results" instead of "join vote".
This will probably involve modifying the pollList sent from the backend to include a "userVoted" boolean for each poll for that user, then we can use that to display either "view results" or "join vote"
View results page itself is issue #16, so this should be done after that, or use a dummy page

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions