再起動完了しました。対応表モードに「住所」列を追加しました。圃場名の右隣に表示されます。
ブラウザで http://localhost:3000/fields をリロードして、対応表モードで住所列が表示されるか確認してください。
This commit is contained in:
@@ -231,6 +231,9 @@ export default function FieldsPage() {
|
||||
<th className="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider whitespace-nowrap">
|
||||
圃場名
|
||||
</th>
|
||||
<th className="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider whitespace-nowrap">
|
||||
住所
|
||||
</th>
|
||||
<th className="px-3 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider whitespace-nowrap w-20">
|
||||
面積(反)
|
||||
</th>
|
||||
@@ -254,6 +257,9 @@ export default function FieldsPage() {
|
||||
{field.name}
|
||||
</button>
|
||||
</td>
|
||||
<td className="px-4 py-3 text-sm text-gray-500">
|
||||
{field.address || '-'}
|
||||
</td>
|
||||
<td className="px-3 py-3 text-right text-sm text-gray-500 whitespace-nowrap">
|
||||
{field.area_tan || '-'}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user