Skip to content

double click on create dataset creates 2 datasets #311

@robkooper

Description

@robkooper

Describe the bug
When creating a dataset (probably same for space/collection) and I double click on the create button it will create 2 datasets with the same name but different mongoids. Looking at the timestamp of the mongoids they are created at the same second.

To Reproduce
Steps to reproduce the behavior:

  1. click on create dataset
  2. fill out form
  3. double click (quickly) the create button
  4. See error

Expected behavior
after first click the button should be grayed out and not receive any more clicks.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions