A free open source IT asset/license management system
Removed redundant icon helper
snipe90e6e309f98d
diff --git a/app/Helpers/Helper.php b/app/Helpers/Helper.phpindex 8a2739a837..3dfc388a9e 100644--- a/app/Helpers/Helper.php+++ b/app/Helpers/Helper.php@@ -1404,43 +1404,6 @@ class Helper}- /**- * Generic helper (largely used by livewire right now) that returns the font-awesome icon- * for the object type.- *- * @author A. Gianotto <[email protected]>- * @since 6.1.0- *- * @return string- */- public static function iconTypeByItem($item) {-- switch ($item) {- case 'asset':- return 'fas fa-barcode';- case 'accessory':- return 'fas fa-keyboard';- case 'component':- return 'fas fa-hdd';- case 'consumable':- return 'fas fa-tint';- case 'license':- return 'far fa-save';- case 'location':- return 'fas fa-map-marker-alt';- case 'user':- return 'fas fa-user';- case 'supplier':- return 'fa-solid fa-store';- case 'manufacturer':- return 'fa-solid fa-building';- case 'category':- return 'fa-solid fa-table-columns';- }-- }--/** This is a shorter way to see if the app is in demo mode.*