-
+
|
Product Info
| Name | ${productName} |
| P/N | ${productPN} |
| S/N | ${productSN} |
- | MAC | ${macAddress} |
- | Type | -- |
- | Cond. | -- |
- | Supplier | - |
- | Warranty | - |
+ | MAC | ${macAddress || '-'} |
|
-
+
|
Technical Specs
@@ -2150,32 +2179,17 @@ Ports Missing/Down: ${missing.length}\n\n`
| IOS-XE Version |
${iosVersion} |
- - |
+ ${'N/A'} |
| System RAM |
${memDisplay} |
- ${configRam?.ram || '-'} |
+ ${configRam?.ram || 'N/A'} |
| Flash Storage |
${flashDisplay} |
- ${configRam?.flash || '-'} |
-
-
- | Uplink Module |
- - |
- - |
-
-
- | PSU Model |
- - |
- - |
-
-
- | PoE Budget |
- - |
- - |
+ ${configRam?.flash || 'N/A'} |
|
@@ -2191,25 +2205,12 @@ Ports Missing/Down: ${missing.length}\n\n`
|
Issues Found
${aiIssueRowsHtml}
-
-
- | COSMETICMinor scratch on top chassis (2cm) — non-functional |
- Accepted |
-
-
-
-
- | MINORFan #2 at 48dB under stress (spec 45dB) — within rack tolerance |
- Monitor |
-
-
- 0 Critical · 0 Major · 1 Minor · 1 Cosmetic
- |
+
- |
+ |
|
Receiving & Inspection Notes
@@ -2254,7 +2255,7 @@ Ports Missing/Down: ${missing.length}\n\n`
✓
-
+
Received
@@ -2269,7 +2270,7 @@ Ports Missing/Down: ${missing.length}\n\n`
✓
-
+
Software Test
@@ -2285,7 +2286,7 @@ Ports Missing/Down: ${missing.length}\n\n`
✓
-
+
Physical Check
@@ -2313,7 +2314,7 @@ Ports Missing/Down: ${missing.length}\n\n`
|
- |
+ |
@@ -2370,7 +2371,7 @@ Ports Missing/Down: ${missing.length}\n\n`
this.config?.inventory?.listInventory
?.map(
(item: any) => `
- | ${item.pid} | ${item.sn} | `
+ | ${item.pid} | ${item.sn} | `
)
.join('') || ''
}
diff --git a/FRONTEND/src/components/Modal/ModalConfig.tsx b/FRONTEND/src/components/Modal/ModalConfig.tsx
index 01785c7..bea3465 100644
--- a/FRONTEND/src/components/Modal/ModalConfig.tsx
+++ b/FRONTEND/src/components/Modal/ModalConfig.tsx
@@ -96,7 +96,7 @@ export default function ModalConfig({ opened, onClose, onSave }: Props) {
}
setIsDisabled(true);
try {
- const url = editingId ? "/api/prompt-ai/update" : "/api/prompt-ai/create";
+ const url = editingId ? "api/prompt-ai/update" : "api/prompt-ai/create";
const payload = editingId ? { id: editingId, ...formData } : formData;
const response = await axios.post(apiUrl + url, payload);
@@ -114,6 +114,7 @@ export default function ModalConfig({ opened, onClose, onSave }: Props) {
setEditingId(null);
fetchPrompts();
setIsDisabled(false);
+ setModalEditing(false);
} else {
notifications.show({
title: "Error",
| | | | |