diff --git a/app/src/components/layout/sidebarLeft/Assets.tsx b/app/src/components/layout/sidebarLeft/Assets.tsx index 4e946d3..8216310 100644 --- a/app/src/components/layout/sidebarLeft/Assets.tsx +++ b/app/src/components/layout/sidebarLeft/Assets.tsx @@ -120,7 +120,12 @@ const Assets: React.FC = () => { echo.error("failed to fetch assets"); setisLoading(false); } + + if (asset === "Decals") { + fetchCategoryDecals("Safety"); + } }; + const fetchCategoryDecals = async (asset: any) => { setisLoading(true); // setSelectedCategory(asset); @@ -226,9 +231,8 @@ const Assets: React.FC = () => { {activeSubcategories.map((cat, index) => (