Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when deleting all code pics and saving #41

Closed
sargreal opened this issue Dec 10, 2020 · 0 comments
Closed

Exception when deleting all code pics and saving #41

sargreal opened this issue Dec 10, 2020 · 0 comments
Labels
mp Medium Priority

Comments

@sargreal
Copy link

The following exception is thrown when trying to save an emptied code pics list:

Expected a value of type `Array<string & Pattern<^[\.a-z0-9\-]+$> & Length<0,30>> & Length<0,7>` for `codeImgIds` but received `[]`.

Would be cool to either disable the save button or allow saving an empty code pics list (which should probably in turn disable the swiping?)

@benawad benawad added the mp Medium Priority label Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mp Medium Priority
Projects
None yet
Development

No branches or pull requests

2 participants