Skip to content
Snippets Groups Projects
Commit 07f53c14 authored by Zoltan Runyo's avatar Zoltan Runyo
Browse files

ICSHWI-9268: Rename menu items

parent 9610b60e
No related branches found
No related tags found
4 merge requests!270Merging develop branch to master in order to create RC,!222Fixing missing time interval parameter for logs,!202Merging develop to master,!159ICSHWI-9268: Rename menu items
Pipeline #111943 passed
......@@ -26,11 +26,11 @@ defineFeature(feature, (test) => {
});
when('the user navigates to the hosts page', async () => {
await screen.findByText('CCCE / Explore IOC hosts');
await screen.findByText('CCCE / IOC-hosts');
});
then('they should be presented with a table of hosts from the iocs group in CSEntry', async () => {
expect(await screen.findByText('CCCE / Explore IOC hosts')).toBeInTheDocument()
expect(await screen.findByText('CCCE / IOC-hosts')).toBeInTheDocument()
expect(await screen.findByText('Status')).toBeInTheDocument()
expect(await screen.findByText('Host')).toBeInTheDocument()
expect(await screen.findByText('Network')).toBeInTheDocument()
......
......@@ -386,8 +386,8 @@ export function GlobalAppBar({ children }) {
const makeLink = (text, url, icon) => ({ text, url, icon });
const menuItemsAll = [
makeLink("Explore IOCs", "/iocs", <CCCEControlSymbol />),
makeLink("Explore IOC hosts", "/hosts", <Storage />),
makeLink("IOCs", "/iocs", <CCCEControlSymbol />),
makeLink("IOC-hosts", "/hosts", <Storage />),
makeLink("Deployment log", "/deployments", <Assignment />),
makeLink("Statistics", "/statistics", <TrendingUp />),
makeLink("About", "/about", <InfoIcon />),
......@@ -395,8 +395,8 @@ export function GlobalAppBar({ children }) {
]
const menuItemsVisitor = [
makeLink("Explore IOCs", "/iocs", <CCCEControlSymbol />),
makeLink("Explore IOC hosts", "/hosts", <Storage />),
makeLink("IOCs", "/iocs", <CCCEControlSymbol />),
makeLink("IOC-hosts", "/hosts", <Storage />),
makeLink("Deployment log", "/deployments", <Assignment />),
makeLink("Statistics", "/statistics", <TrendingUp />),
makeLink("About", "/about", <InfoIcon />)
......
......@@ -40,8 +40,6 @@ export function IOCListView() {
};
const rowsPerPage = [5, 10, 20, 50, 100];
console.log("rendering Explore IOCs")
useEffect(() => {
setIocList(iocs.iocList);
......@@ -69,7 +67,7 @@ export function IOCListView() {
getIocs(requestParams);
}, [getIocs, lazyParams, columnSort, query, user, ownOnly])
const title = "Explore IOCs";
const title = "IOCs";
useGlobalAppBar(title);
let content = (
......
......@@ -21,7 +21,7 @@ const useStyles = makeStyles((theme) => ({
}));
export function HostListView() {
useGlobalAppBar("Explore IOC hosts");
useGlobalAppBar("IOC-hosts");
const [hosts, getHosts, /*reset*/, loading] = useCSEntrySearch();
const [query, setQuery] = useState("");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment