mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-07 03:47:32 -08:00
Merge branch 'develop'
This commit is contained in:
commit
10a4d7e849
|
@ -54,9 +54,9 @@ class AssetsTransformer
|
||||||
'id' => (int) $asset->company->id,
|
'id' => (int) $asset->company->id,
|
||||||
'name'=> e($asset->company->name)
|
'name'=> e($asset->company->name)
|
||||||
] : null,
|
] : null,
|
||||||
'location' => ($asset->assetLoc) ? [
|
'location' => ($asset->assetloc) ? [
|
||||||
'id' => (int) $asset->assetLoc->id,
|
'id' => (int) $asset->assetloc->id,
|
||||||
'name'=> e($asset->assetLoc->name)
|
'name'=> e($asset->assetloc->name)
|
||||||
] : null,
|
] : null,
|
||||||
'rtd_location' => ($asset->defaultLoc) ? [
|
'rtd_location' => ($asset->defaultLoc) ? [
|
||||||
'id' => (int) $asset->defaultLoc->id,
|
'id' => (int) $asset->defaultLoc->id,
|
||||||
|
|
|
@ -488,7 +488,6 @@
|
||||||
var error_text;
|
var error_text;
|
||||||
|
|
||||||
$("#ldaptestloginicon").html('');
|
$("#ldaptestloginicon").html('');
|
||||||
$("#ldaptestloginrow").addClass('danger');
|
|
||||||
$("#ldaptestloginstatus").addClass('text-danger');
|
$("#ldaptestloginstatus").addClass('text-danger');
|
||||||
$("#ldaptestloginicon").html('<i class="fa fa-exclamation-triangle text-danger"></i>');
|
$("#ldaptestloginicon").html('<i class="fa fa-exclamation-triangle text-danger"></i>');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue