mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
dhcrelay: Add missing status column, regression from a556e10d06
This commit is contained in:
parent
3a68aac583
commit
f64be4a3ca
@ -26,6 +26,10 @@
|
||||
|
||||
<script>
|
||||
$( document ).ready(function() {
|
||||
// Add the status column since it is not part of dialogRelay.xml
|
||||
const $statusColumn = $('<th data-column-id="status" data-width="6em" data-type="string" data-formatter="statusled">{{ lang._('Status') }}</th>');
|
||||
$('#{{formGridRelay['table_id']}} thead tr th[data-column-id="enabled"]').after($statusColumn);
|
||||
|
||||
$("#{{formGridDest['table_id']}}").UIBootgrid({
|
||||
search:'/api/dhcrelay/settings/searchDest',
|
||||
get:'/api/dhcrelay/settings/getDest/',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user