3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-04 16:15:25 +00:00

Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe
2025-12-08 19:33:07 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ class ObjectImportCommand extends Command
$this->progressIndicator = new ProgressIndicator($this->output);
$filename = $this->argument('filename');
$class = title_case($this->option('item-type'));
$class = ucfirst($this->option('item-type'));
$classString = "App\\Importer\\{$class}Importer";
$importer = new $classString($filename);
$importer->setCallbacks([$this, 'log'], [$this, 'progress'], [$this, 'errorCallback'])

View File

@ -530,7 +530,7 @@
</td>
<td>
<x-icon type="circle-solid" class="text-blue" />
{{ $asset->assetstatus->name }}
{{ $asset->assetstatus?->name }}
<label class="label label-default">{{ trans('general.deployed') }}</label>
</td>
<td>