feat: re-add trip ID column on the server portal

Restore the 'ID' column (and showId attribute) on the server trip list.
This commit is contained in:
Mathieu Moran
2026-08-15 17:29:49 -04:00
parent a05d4a9a13
commit 2817930bdc
+2
View File
@@ -30,6 +30,7 @@
"trip-list",
[
{"key": "", "label": "", "sortable": false, "class": "text-center"},
{"key": "id", "label": "ID", "sortable": false},
{"key": "started", "label": "Started", "sortable": true},
{"key": "distance", "label": "km", "sortable": true},
{"key": "duration", "label": "Time", "sortable": true},
@@ -43,6 +44,7 @@
) }}
<script>document.getElementById('trip-list').dataset.deleteUrl = '/api/v1/portal/trip/';</script>
<script>document.getElementById('trip-list').dataset.batchDeleteUrl = '/api/v1/portal/trips/delete';</script>
<script>document.getElementById('trip-list').dataset.showId = '1';</script>
</div>
</div>
</div>