mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Migrate to new namespace
This commit is contained in:
parent
4ae74fb7f6
commit
b52380f376
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Livewire;
|
namespace App\Livewire;
|
||||||
|
|
||||||
use Livewire\Component;
|
use Livewire\Component;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Livewire;
|
namespace App\Livewire;
|
||||||
|
|
||||||
use Livewire\Component;
|
use Livewire\Component;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Livewire;
|
namespace App\Livewire;
|
||||||
|
|
||||||
use App\Models\CustomField;
|
use App\Models\CustomField;
|
||||||
use Livewire\Component;
|
use Livewire\Component;
|
||||||
|
@ -60,7 +60,7 @@ class Importer extends Component
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is used in resources/views/livewire/importer.blade.php, and we kinda shouldn't need to check for
|
* This is used in resources/views/livewire.importer.blade.php, and we kinda shouldn't need to check for
|
||||||
* activeFile here, but there's some UI goofiness that allows this to crash out on some imports.
|
* activeFile here, but there's some UI goofiness that allows this to crash out on some imports.
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
|
@ -548,7 +548,7 @@ class Importer extends Component
|
||||||
public function render()
|
public function render()
|
||||||
{
|
{
|
||||||
$this->files = Import::orderBy('id','desc')->get(); //HACK - slows down renders.
|
$this->files = Import::orderBy('id','desc')->get(); //HACK - slows down renders.
|
||||||
return view('livewire.importer')
|
return view('')
|
||||||
->extends('layouts.default')
|
->extends('layouts.default')
|
||||||
->section('content');
|
->section('content');
|
||||||
}
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace App\Http\Livewire;
|
namespace App\Livewire;
|
||||||
|
|
||||||
use Livewire\Component;
|
use Livewire\Component;
|
||||||
use Illuminate\Support\Facades\Log;
|
use Illuminate\Support\Facades\Log;
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Livewire;
|
namespace App\Livewire;
|
||||||
|
|
||||||
use Illuminate\Support\Facades\Http;
|
use Illuminate\Support\Facades\Http;
|
||||||
use Illuminate\Support\Facades\Log;
|
use Illuminate\Support\Facades\Log;
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Livewire;
|
namespace App\Livewire;
|
||||||
|
|
||||||
use Illuminate\Support\Facades\Auth;
|
use Illuminate\Support\Facades\Auth;
|
||||||
use Illuminate\Support\Facades\Log;
|
use Illuminate\Support\Facades\Log;
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Livewire;
|
namespace App\Livewire;
|
||||||
|
|
||||||
use GuzzleHttp\Client;
|
use GuzzleHttp\Client;
|
||||||
use Illuminate\Support\Facades\Http;
|
use Illuminate\Support\Facades\Http;
|
|
@ -262,7 +262,7 @@ Route::group(['prefix' => 'admin', 'middleware' => ['auth', 'authorize:superuser
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Route::get('/import',
|
Route::get('/import',
|
||||||
\App\Http\Livewire\Importer::class
|
\App\Livewire\Importer::class
|
||||||
)->middleware('auth')->name('imports.index');
|
)->middleware('auth')->name('imports.index');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
namespace Tests\Feature\Livewire;
|
namespace Tests\Feature\Livewire;
|
||||||
|
|
||||||
use App\Http\Livewire\CategoryEditForm;
|
use App\Livewire\CategoryEditForm;
|
||||||
use Livewire\Livewire;
|
use Livewire\Livewire;
|
||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue