Change patch category labels to uppercase: PATCH, UPDATE

This commit is contained in:
backuppc
2025-12-03 08:23:00 +09:00
parent bb66af89ae
commit 40abcde0a9

View File

@@ -204,7 +204,7 @@ export function PatchList() {
bidx: 5, bidx: 5,
gcode: '', gcode: '',
header: '', header: '',
cate: '패치', cate: 'PATCH',
title: '', title: '',
contents: '', contents: '',
file: '', file: '',
@@ -263,7 +263,7 @@ export function PatchList() {
<div className="flex items-center gap-2 flex-shrink-0"> <div className="flex items-center gap-2 flex-shrink-0">
{item.cate && ( {item.cate && (
<span className={`px-2 py-0.5 text-xs rounded whitespace-nowrap ${ <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-lime-500/20 text-lime-400'
: 'bg-red-500/20 text-red-400' : 'bg-red-500/20 text-red-400'
}`}> }`}>
@@ -374,12 +374,12 @@ export function PatchList() {
<div> <div>
<label className="block text-white/70 text-sm font-medium mb-2"></label> <label className="block text-white/70 text-sm font-medium mb-2"></label>
<select <select
value={editFormData.cate || '패치'} value={editFormData.cate || 'PATCH'}
onChange={(e) => setEditFormData({ ...editFormData, cate: e.target.value })} 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" 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="PATCH" className="bg-gray-800">PATCH</option>
<option value="update" className="bg-gray-800">update</option> <option value="UPDATE" className="bg-gray-800">UPDATE</option>
</select> </select>
</div> </div>