diff --git a/frontend/src/components/agency/prompt/Prompt.jsx b/frontend/src/components/agency/prompt/Prompt.jsx
index f24001d55f..83940b5a84 100644
--- a/frontend/src/components/agency/prompt/Prompt.jsx
+++ b/frontend/src/components/agency/prompt/Prompt.jsx
@@ -88,10 +88,9 @@ function Prompt() {
}
onClick={() => setIsPromptOpen(false)}
- >
-
-
+ />
@@ -122,10 +121,9 @@ function Prompt() {
}
onClick={() => setIsPromptOpen(true)}
- >
-
-
+ />
)}
diff --git a/frontend/src/components/custom-tools/header-title/HeaderTitle.jsx b/frontend/src/components/custom-tools/header-title/HeaderTitle.jsx
index cdee23ef8e..03b84b4a7e 100644
--- a/frontend/src/components/custom-tools/header-title/HeaderTitle.jsx
+++ b/frontend/src/components/custom-tools/header-title/HeaderTitle.jsx
@@ -26,9 +26,7 @@ function HeaderTitle() {
{details?.tool_name}
-
+ } disabled />
);
diff --git a/frontend/src/components/custom-tools/manage-docs-modal/ManageDocsModal.jsx b/frontend/src/components/custom-tools/manage-docs-modal/ManageDocsModal.jsx
index 29d7d533e2..efd5285107 100644
--- a/frontend/src/components/custom-tools/manage-docs-modal/ManageDocsModal.jsx
+++ b/frontend/src/components/custom-tools/manage-docs-modal/ManageDocsModal.jsx
@@ -382,19 +382,14 @@ function ManageDocsModal({
title: "Actions",
dataIndex: "reindex",
key: "reindex",
- width: 200,
+ width: 120,
},
{
- title: "",
- dataIndex: "delete",
- key: "delete",
- width: 30,
- },
- {
- title: "",
+ title: "Select Default",
dataIndex: "select",
key: "select",
- width: 30,
+ align: "center",
+ width: 120,
},
];
@@ -496,33 +491,29 @@ function ManageDocsModal({
)}
+ handleDelete(item?.document_id)}
+ content="The document will be permanently deleted."
+ >
+
+ }
+ disabled={
+ isMultiPassExtractLoading ||
+ isSinglePassExtractLoading ||
+ indexDocs.includes(item?.document_id) ||
+ isUploading ||
+ isPublicSource
+ }
+ />
+
+
{infoIndex(indexMessages?.[item?.document_name])}
),
- delete: (
- handleDelete(item?.document_id)}
- content="The document will be permanently deleted."
- >
-
-
-
-
- ),
select: (
}
onClick={() => copyProfileId(item?.profile_id)}
- >
-
-
+ />
}
disabled={isPublicSource}
onClick={() => handleEdit(item?.profile_id)}
- >
-
-
+ />
handleDelete(item?.profile_id)}
content="The LLM profile will be permanently deleted."
@@ -148,13 +144,11 @@ function ManageLlmProfiles() {
>
}
disabled={
isPublicSource || defaultLlmProfile === item?.profile_id
}
- >
-
-
+ />
diff --git a/frontend/src/components/pipelines-or-deployments/notification-modal/DisplayNotifications.jsx b/frontend/src/components/pipelines-or-deployments/notification-modal/DisplayNotifications.jsx
index 60020a4510..9754dd20ab 100644
--- a/frontend/src/components/pipelines-or-deployments/notification-modal/DisplayNotifications.jsx
+++ b/frontend/src/components/pipelines-or-deployments/notification-modal/DisplayNotifications.jsx
@@ -48,10 +48,9 @@ function DisplayNotifications({
}
onClick={() => handleEdit(record)}
- >
-
-
+ />
@@ -60,9 +59,7 @@ function DisplayNotifications({
handleConfirm={() => handleDelete(record?.id, record?.name)}
content="Are you sure you want to delete?"
>
-
+ } />
diff --git a/frontend/src/components/settings/platform/PlatformSettings.jsx b/frontend/src/components/settings/platform/PlatformSettings.jsx
index c7010fa9db..bdc996a6ae 100644
--- a/frontend/src/components/settings/platform/PlatformSettings.jsx
+++ b/frontend/src/components/settings/platform/PlatformSettings.jsx
@@ -317,11 +317,10 @@ function PlatformSettings() {
>
}
disabled={keyDetails?.id === null}
loading={isDeletingIndex === keyIndex}
- >
-
-
+ />