fix lang bug
This commit is contained in:
@@ -407,12 +407,22 @@
|
||||
}
|
||||
],
|
||||
columns: [{
|
||||
data: 'name',
|
||||
name: 'forms.name'
|
||||
data: descColName,
|
||||
name: 'forms.' + descColName,
|
||||
createdCell: function(td, cellData, rowData, row, col) {
|
||||
if (td.innerHTML.length === 0) {
|
||||
td.innerHTML = rowData.description
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
data: 'description',
|
||||
name: 'forms.description'
|
||||
data: titleColName,
|
||||
name: 'forms.' + titleColName,
|
||||
createdCell: function(td, cellData, rowData, row, col) {
|
||||
if (td.innerHTML.length === 0) {
|
||||
td.innerHTML = rowData.name
|
||||
}
|
||||
},
|
||||
},
|
||||
@if (auth()->user()->hasRole(\App\Enums\User\RoleEnum::SUPERVISOR->value))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user