>
)}
-
{selectedCategory !== "Decals" && !selectedSubCategory ? (
{categoryAssets?.map((asset: any, index: number) => (
diff --git a/app/src/components/layout/sidebarRight/properties/AisleProperties.tsx b/app/src/components/layout/sidebarRight/properties/AisleProperties.tsx
index c343805..2fb8042 100644
--- a/app/src/components/layout/sidebarRight/properties/AisleProperties.tsx
+++ b/app/src/components/layout/sidebarRight/properties/AisleProperties.tsx
@@ -28,13 +28,13 @@ const AisleProperties: React.FC = () => {
const { aisleType, aisleWidth, aisleColor, dashLength, gapLength, dotRadius, aisleLength, isFlipped, setAisleType, setAisleColor, setAisleWidth, setDashLength, setGapLength, setDotRadius, setAisleLength, setIsFlipped } = useBuilderStore();
const aisleTextureList: TextureItem[] = [
- { color: "yellow", id: "yellow", brief: "pedestrian walkways", texture: "" },
- { color: "gray", id: "gray", brief: "basic", texture: "" },
- { color: "green", id: "green", brief: "pedestrian walkways", texture: "" },
- { color: "orange", id: "orange", brief: "material flow", texture: "" },
- { color: "blue", id: "blue", brief: "vehicle paths", texture: "" },
- { color: "purple", id: "purple", brief: "material flow", texture: "" },
- { color: "red", id: "red", brief: "safety zone", texture: "" },
+ { color: "yellow", id: "#FBE50E", brief: "pedestrian walkways", texture: "" },
+ { color: "gray", id: "#6F6F7A", brief: "basic", texture: "" },
+ { color: "green", id: "#43C06D", brief: "pedestrian walkways", texture: "" },
+ { color: "orange", id: "#FF711B", brief: "material flow", texture: "" },
+ { color: "blue", id: "#488EF6", brief: "vehicle paths", texture: "" },
+ { color: "purple", id: "#AF52DE", brief: "material flow", texture: "" },
+ { color: "red", id: "#FF3B30", brief: "safety zone", texture: "" },
{ color: "bright green", id: "#66FF00", brief: "safety zone", texture: "" },
{ color: "yellow-black", id: "yellow-black", brief: "utility aisles", texture: "" },
{ color: "white-black", id: "white-black", brief: "utility aisles", texture: "" },
@@ -285,7 +285,12 @@ const AisleProperties: React.FC = () => {
onClick={() => setAisleColor(val.id)}
aria-pressed={aisleColor === val.id}
>
-
{val.texture}
+
+ {val.texture}
+
{val.color}
{`( ${val.brief} )`}
diff --git a/app/src/components/layout/sidebarRight/resourceManagement/hrm/assetManagement/AssetManagement.tsx b/app/src/components/layout/sidebarRight/resourceManagement/hrm/assetManagement/AssetManagement.tsx
index faa6015..718915c 100644
--- a/app/src/components/layout/sidebarRight/resourceManagement/hrm/assetManagement/AssetManagement.tsx
+++ b/app/src/components/layout/sidebarRight/resourceManagement/hrm/assetManagement/AssetManagement.tsx
@@ -1,18 +1,19 @@
import { useEffect, useState } from 'react'
// import NavigateCatagory from '../../NavigateCatagory'
-import { EyeIcon, ForkLiftIcon, KebabIcon, LocationPinIcon, RightHalfFillCircleIcon } from '../../../../../icons/ExportCommonIcons';
+import { EyeIcon, KebabIcon, LocationPinIcon, RightHalfFillCircleIcon } from '../../../../../icons/ExportCommonIcons';
import assetImage from "../../../../../../assets/image/asset-image.png"
import { useSceneContext } from '../../../../../../modules/scene/sceneContext';
import { useProductContext } from '../../../../../../modules/simulation/products/productContext';
import RenameInput from '../../../../../ui/inputs/RenameInput';
import { useResourceManagementId } from '../../../../../../store/builder/store';
+import { TypeBasedAssetIcons } from '../../../../../icons/AssetTypeIcons';
const AssetManagement = () => {
// const [selectedCategory, setSelectedCategory] = useState("All Assets");
const [expandedAssetId, setExpandedAssetId] = useState
(null);
const [assets, setAssets] = useState([]);
const { productStore } = useSceneContext();
- const { products, getProductById } = productStore();
+ const { getProductById } = productStore();
const { selectedProductStore } = useProductContext();
const { selectedProduct } = selectedProductStore();
const { setResourceManagementId } = useResourceManagementId();
@@ -30,6 +31,7 @@ const AssetManagement = () => {
grouped[asset.modelName] = {
id: asset.modelUuid,
name: asset.modelName,
+ type: asset.type,
model: asset.modelCode || "N/A",
status: asset.status || "Online",
usageRate: asset.usageRate || 15,
@@ -46,6 +48,7 @@ const AssetManagement = () => {
setAssets(Object.values(grouped));
}
+ // eslint-disable-next-line
}, [selectedProduct]);
function handleRenameAsset(newName: string) {
@@ -130,7 +133,7 @@ const AssetManagement = () => {
>
:
-
+
}
@@ -210,16 +213,10 @@ const AssetManagement = () => {
{expandedAssetId === asset.id ? "View Less" : "View More"}
-
-
-