mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
Merge pull request #14389 from Godmartinz/remove-pdf-for-old-labels
old engine works as intended
This commit is contained in:
commit
c66267a0f9
|
@ -41,7 +41,7 @@ class Label implements View
|
||||||
$template = LabelModel::find($settings->label2_template);
|
$template = LabelModel::find($settings->label2_template);
|
||||||
|
|
||||||
// If disabled, pass to legacy view
|
// If disabled, pass to legacy view
|
||||||
if ((!$settings->label2_enable) && (!$template)) {
|
if ((!$settings->label2_enable)) {
|
||||||
return view('hardware/labels')
|
return view('hardware/labels')
|
||||||
->with('assets', $assets)
|
->with('assets', $assets)
|
||||||
->with('settings', $settings)
|
->with('settings', $settings)
|
||||||
|
|
Loading…
Reference in a new issue