diff --git a/app/devices/device_vendors.php b/app/devices/device_vendors.php
index 5a6fca83f6..d09d996871 100644
--- a/app/devices/device_vendors.php
+++ b/app/devices/device_vendors.php
@@ -124,6 +124,9 @@
echo "
".$text['title-device_vendors']." (".$num_rows.")
\n";
echo " \n";
echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'style'=>'margin-right: 15px;','link'=>'devices.php']);
+ if (permission_exists('device_vendor_restore')) {
+ echo button::create(['type'=>'button','label'=>$text['button-restore'],'icon'=>$_SESSION['theme']['button_icon_reset'],'style'=>'margin-right: 15px;','link'=>'device_vendor_restore.php']);
+ }
if (permission_exists('device_vendor_add')) {
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$_SESSION['theme']['button_icon_add'],'link'=>'device_vendor_edit.php']);
}
@@ -140,9 +143,6 @@
if ($paging_controls_mini != '') {
echo "".$paging_controls_mini."";
}
- if (permission_exists('device_vendor_restore')) {
- echo button::create(['type'=>'button','label'=>$text['button-restore'],'icon'=>$_SESSION['theme']['button_icon_reset'],'style'=>'margin-left: 15px;','link'=>'device_vendor_restore.php']);
- }
echo " \n";
echo "
\n";
echo " \n";