Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
inventory-frontend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
coding-brunch-hh
inventory-frontend
Commits
bbd2690e
Commit
bbd2690e
authored
Aug 15, 2018
by
Martin Fahl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoids qunaitities < 0 in add dialog
parent
d52e8dc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/components/AddDialog/AddDialog.js
src/components/AddDialog/AddDialog.js
+1
-0
No files found.
src/components/AddDialog/AddDialog.js
View file @
bbd2690e
...
...
@@ -28,6 +28,7 @@ const AddDialog = ({ name, quantity, isOpen, handleClose, handleCancel, handleAd
id
=
"
quantity
"
label
=
"
Quantity
"
type
=
"
number
"
InputProps
=
{{
inputProps
:
{
min
:
0
}
}}
value
=
{
quantity
}
onChange
=
{(
event
)
=>
updateQuantity
(
event
.
target
.
value
)}
/
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment