diff options
author | brunomilitzer <bruno.militzer@est.tech> | 2022-01-27 17:51:58 +0000 |
---|---|---|
committer | brunomilitzer <bruno.militzer@est.tech> | 2022-01-28 13:58:53 +0000 |
commit | f8ec2dcdcec8a686d3e58d82a99aa097df2f0c41 (patch) | |
tree | dc981ad80437976d89662e01139cc26c6da463e4 /gui-clamp/ui-react/src/components/dialogs/Policy/ViewAllPolicies.js | |
parent | 9957cf988f2199d9d0ff3838e7f90e70d9cb6ae8 (diff) |
Added Menu and Loop Jest Tests
Issue-ID: POLICY-3876
Change-Id: I5f4d80aefdff8b837a40742b66727b888e985b86
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Diffstat (limited to 'gui-clamp/ui-react/src/components/dialogs/Policy/ViewAllPolicies.js')
-rw-r--r-- | gui-clamp/ui-react/src/components/dialogs/Policy/ViewAllPolicies.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gui-clamp/ui-react/src/components/dialogs/Policy/ViewAllPolicies.js b/gui-clamp/ui-react/src/components/dialogs/Policy/ViewAllPolicies.js index f571bc1..0aed5f4 100644 --- a/gui-clamp/ui-react/src/components/dialogs/Policy/ViewAllPolicies.js +++ b/gui-clamp/ui-react/src/components/dialogs/Policy/ViewAllPolicies.js @@ -2,8 +2,8 @@ * ============LICENSE_START======================================================= * ONAP POLICY-CLAMP * ================================================================================ - * Copyright (C) 2021 AT&T Intellectual Property. All rights - * reserved. + * Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2022 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,11 +44,9 @@ import DehazeIcon from '@material-ui/icons/Dehaze'; import ArrowForwardIosIcon from '@material-ui/icons/ArrowForwardIos'; import AddIcon from '@material-ui/icons/Add'; import PublishIcon from '@material-ui/icons/Publish'; -import Switch from '@material-ui/core/Switch'; import MaterialTable from "material-table"; import PolicyService from '../../../api/PolicyService'; import PolicyToscaService from '../../../api/PolicyToscaService'; -import Select from '@material-ui/core/Select'; import Alert from 'react-bootstrap/Alert'; import Tabs from 'react-bootstrap/Tabs'; import Tab from 'react-bootstrap/Tab'; @@ -251,6 +249,7 @@ export default class ViewAllPolicies extends React.Component { } handleClose() { + console.log("handleClose called"); this.setState({ show: false }); this.props.history.push('/') } |