From 84c980153d483b2a68a3411d2da04672ef217808 Mon Sep 17 00:00:00 2001 From: Aayush Shrestha Date: Tue, 10 Dec 2024 18:40:04 -0800 Subject: [PATCH] 1334: Removed unused import, fixed button overlap issue on Mobile view --- .../TestNotificationConfigEdit.js | 28 +++---------------- 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/frontend/src/components/admin/testNotificationConfigMenu/TestNotificationConfigEdit.js b/frontend/src/components/admin/testNotificationConfigMenu/TestNotificationConfigEdit.js index f61a05a659..7b783d4c8d 100644 --- a/frontend/src/components/admin/testNotificationConfigMenu/TestNotificationConfigEdit.js +++ b/frontend/src/components/admin/testNotificationConfigMenu/TestNotificationConfigEdit.js @@ -6,31 +6,15 @@ import { Grid, Column, Section, - DataTable, - Table, - TableHead, - TableRow, - TableBody, - TableHeader, - TableCell, - TableSelectRow, - TableSelectAll, - TableContainer, - Pagination, - Search, - Modal, TextInput, - Dropdown, TextArea, Checkbox, } from "@carbon/react"; import { getFromOpenElisServer, - postToOpenElisServerFullResponse, postToOpenElisServerJsonResponse, } from "../../utils/Utils.js"; import { - ConfigurationContext, NotificationContext, } from "../../layout/Layout.js"; import { @@ -39,8 +23,6 @@ import { } from "../../common/CustomNotification.js"; import { FormattedMessage, injectIntl, useIntl } from "react-intl"; import PageBreadCrumb from "../../common/PageBreadCrumb.js"; -import { ArrowLeft, ArrowRight, Cost } from "@carbon/icons-react"; -import ActionPaginationButtonType from "../../common/ActionPaginationButtonType.js"; let breadcrumbs = [ { label: "home.label", link: "/" }, @@ -80,8 +62,6 @@ function TestNotificationConfigEdit() { ] = useState({}); const [testNamesList, setTestNamesList] = useState([]); const [testName, setTestName] = useState(""); - const [testNotificationConfigMenuList, setTestNotificationConfigMenuList] = - useState([]); useEffect(() => { if (testNotificationConfigEditData) { @@ -565,7 +545,7 @@ function TestNotificationConfigEdit() {
- + {" "} - + {" "} - + {" "} - +