refactor: switched priority null -> 'none' (#2166)
This commit is contained in:
parent
e58b76c8a6
commit
23e62c83eb
5 changed files with 5 additions and 5 deletions
|
|
@ -52,7 +52,7 @@ const defaultValues: Partial<IIssue> = {
|
|||
estimate_point: null,
|
||||
state: "",
|
||||
parent: null,
|
||||
priority: null,
|
||||
priority: "none",
|
||||
assignees: [],
|
||||
assignees_list: [],
|
||||
labels: [],
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ export const IssuePrioritySelect: React.FC<Props> = ({ value, onChange }) => (
|
|||
<span>
|
||||
<PriorityIcon priority={priority} />
|
||||
</span>
|
||||
<span className="capitalize">{priority ?? "None"}</span>
|
||||
<span className="capitalize">{priority}</span>
|
||||
</div>
|
||||
</div>
|
||||
</CustomSelect.Option>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ export const PrioritySelect: React.FC<Props> = (props) => {
|
|||
<WebViewModal.Options
|
||||
options={
|
||||
PRIORITIES?.map((priority) => ({
|
||||
label: priority ? capitalizeFirstLetter(priority) : "None",
|
||||
label: capitalizeFirstLetter(priority),
|
||||
value: priority,
|
||||
checked: priority === value,
|
||||
onClick: () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue