Skip to content
Snippets Groups Projects
Commit 0cd27c9d authored by Muthukrishnanmatriot's avatar Muthukrishnanmatriot
Browse files

TMSS-997 - updated the code for review comments

parent f27bb3d7
Branches
No related tags found
2 merge requests!634WIP: COBALT commissioning delta,!573Resolve TMSS-997
......@@ -293,6 +293,9 @@ In Excel View the for Accordion background color override
overflow: auto;
padding: 5px;
background-color: white;
overflow-wrap: anywhere;
white-space: break-spaces;
font-family: initial;
}
.show_error_hide {
margin-top: 1em;
......
......@@ -39,6 +39,12 @@ const handleResponse= Wrapped => {
} else {
appGrowl.show({severity: 'error', summary: 'Error', sticky: 'true', detail: <ShowErrorDetails response={response} /> });
}
var elements = document.getElementsByClassName('p-growl p-component p-growl-topright');
if(elements) {
for(var i = 0 ; i < elements.length; i++){
elements[i].classList.remove("show_error");
}
}
if (response.status === 401) {
Auth.logout();
window.location.href = "/login";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment