diff --git a/app/Importer/AssetImporter.php b/app/Importer/AssetImporter.php index 6b3f2f1d00..02ffa2077c 100644 --- a/app/Importer/AssetImporter.php +++ b/app/Importer/AssetImporter.php @@ -20,7 +20,9 @@ class AssetImporter extends ItemImporter { parent::__construct($filename); - if (!is_null(Statuslabel::first())) { + $this->defaultStatusLabelId = Statuslabel::first()->id; + + if (!is_null(Statuslabel::deployable()->first())) { $this->defaultStatusLabelId = Statuslabel::deployable()->first()->id; } }