Skip to content

Commit

Permalink
fix data
Browse files Browse the repository at this point in the history
  • Loading branch information
doljko committed Mar 4, 2024
1 parent f48a4e6 commit 6e1a716
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/Core/screens/IssueScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const IssueScreen = ({ navigation, route }) => {
};

const validateInputs = () => {
if (!type || !category || !report.trim() || !priority) {
if (!type || !category || !priority || !report.trim()) {
setError('Please enter a required value.');
return false;
}
Expand Down Expand Up @@ -155,7 +155,7 @@ const IssueScreen = ({ navigation, route }) => {
items={Object.keys(IssueType).map(type => {
return { label: IssueType[type], value: type };
})}
onChange={setCategory}
onChange={setType}
title={translate('Core.IssueScreen.selectType')}
/>
)}
Expand Down

0 comments on commit 6e1a716

Please sign in to comment.