Migrate a couple items out of mount

This commit is contained in:
Marcus Moore 2024-07-15 16:15:58 -07:00
parent 256e989ba1
commit c8dad528a8
No known key found for this signature in database

View file

@ -11,9 +11,9 @@ class Importer extends Component
{
public $files;
public $progress; //upload progress - '-1' means don't show
public $progress = -1; //upload progress - '-1' means don't show
public $progress_message;
public $progress_bar_class;
public $progress_bar_class = 'progress-bar-warning';
public $message; //status/error message?
public $message_type; //success/error?
@ -156,8 +156,6 @@ class Importer extends Component
public function mount()
{
$this->authorize('import');
$this->progress = -1; // '-1' means 'don't show the progressbar'
$this->progress_bar_class = 'progress-bar-warning';
$this->importTypes = [
'asset' => trans('general.assets'),
'accessory' => trans('general.accessories'),