Skip to content

Block completing event if not all awards have been assigned #2036

@johnmeshulam

Description

@johnmeshulam

Describe the bug
Currently the complete event buttonn sets the flag in the DB without any validation. We should add validation where we check first if all awards have been assigned (have either a winner name or winner id) and respond with an error code if not.
(Show toast on error, not on success)

To Reproduce
Steps to reproduce the behavior:

  1. Go to admin event settings page
  2. Click on complete event

Expected behavior
Proper validation and erroring in place

Metadata

Metadata

Assignees

No one assigned

    Labels

    adminBugs/tasks related to the admin app domain

    Type

    Projects

    Status

    Backlog

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions