Change patch category labels to uppercase: PATCH, UPDATE
This commit is contained in:
@@ -204,7 +204,7 @@ export function PatchList() {
|
||||
bidx: 5,
|
||||
gcode: '',
|
||||
header: '',
|
||||
cate: '패치',
|
||||
cate: 'PATCH',
|
||||
title: '',
|
||||
contents: '',
|
||||
file: '',
|
||||
@@ -263,7 +263,7 @@ export function PatchList() {
|
||||
<div className="flex items-center gap-2 flex-shrink-0">
|
||||
{item.cate && (
|
||||
<span className={`px-2 py-0.5 text-xs rounded whitespace-nowrap ${
|
||||
item.cate.toLowerCase() === 'update'
|
||||
item.cate.toUpperCase() === 'UPDATE'
|
||||
? 'bg-lime-500/20 text-lime-400'
|
||||
: 'bg-red-500/20 text-red-400'
|
||||
}`}>
|
||||
@@ -374,12 +374,12 @@ export function PatchList() {
|
||||
<div>
|
||||
<label className="block text-white/70 text-sm font-medium mb-2">카테고리</label>
|
||||
<select
|
||||
value={editFormData.cate || '패치'}
|
||||
value={editFormData.cate || 'PATCH'}
|
||||
onChange={(e) => setEditFormData({ ...editFormData, cate: e.target.value })}
|
||||
className="w-full h-10 bg-white/10 border border-white/30 rounded-lg px-3 text-white focus:outline-none focus:ring-2 focus:ring-primary-400"
|
||||
>
|
||||
<option value="패치" className="bg-gray-800">패치</option>
|
||||
<option value="update" className="bg-gray-800">update</option>
|
||||
<option value="PATCH" className="bg-gray-800">PATCH</option>
|
||||
<option value="UPDATE" className="bg-gray-800">UPDATE</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user