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:
@@ -30,6 +30,7 @@
|
|||||||
"trip-list",
|
"trip-list",
|
||||||
[
|
[
|
||||||
{"key": "", "label": "", "sortable": false, "class": "text-center"},
|
{"key": "", "label": "", "sortable": false, "class": "text-center"},
|
||||||
|
{"key": "id", "label": "ID", "sortable": false},
|
||||||
{"key": "started", "label": "Started", "sortable": true},
|
{"key": "started", "label": "Started", "sortable": true},
|
||||||
{"key": "distance", "label": "km", "sortable": true},
|
{"key": "distance", "label": "km", "sortable": true},
|
||||||
{"key": "duration", "label": "Time", "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.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.batchDeleteUrl = '/api/v1/portal/trips/delete';</script>
|
||||||
|
<script>document.getElementById('trip-list').dataset.showId = '1';</script>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user