parent
077a6949e2
commit
a1ff35f6ce
1 changed files with 3 additions and 1 deletions
|
@ -20,7 +20,9 @@ class AssetImporter extends ItemImporter
|
|||
{
|
||||
parent::__construct($filename);
|
||||
|
||||
if (!is_null(Statuslabel::first())) {
|
||||
$this->defaultStatusLabelId = Statuslabel::first();
|
||||
|
||||
if (!is_null(Statuslabel::deployable()->first())) {
|
||||
$this->defaultStatusLabelId = Statuslabel::deployable()->first()->id;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue