Skip to content

Commit a73cdaa

Browse files
committed
lint-web
Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
1 parent 5517c3d commit a73cdaa

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

mcpgateway/static/admin.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2415,7 +2415,10 @@ async function editTool(toolId) {
24152415
window.editToolSchemaEditor.setOption("readOnly", true);
24162416
}
24172417
if (window.editToolOutputSchemaEditor) {
2418-
window.editToolOutputSchemaEditor.setOption("readOnly", true);
2418+
window.editToolOutputSchemaEditor.setOption(
2419+
"readOnly",
2420+
true,
2421+
);
24192422
}
24202423
} else {
24212424
typeField.disabled = false;
@@ -2441,7 +2444,10 @@ async function editTool(toolId) {
24412444
window.editToolSchemaEditor.setOption("readOnly", false);
24422445
}
24432446
if (window.editToolOutputSchemaEditor) {
2444-
window.editToolOutputSchemaEditor.setOption("readOnly", false);
2447+
window.editToolOutputSchemaEditor.setOption(
2448+
"readOnly",
2449+
false,
2450+
);
24452451
}
24462452
}
24472453
// Update request types and URL field

0 commit comments

Comments
 (0)