- removed console log;

- added toast when switching companies;
This commit is contained in:
Vitalii Kiiko
2024-10-10 15:23:25 +02:00
parent 156aac3d20
commit 374f60da97
3 changed files with 14 additions and 22 deletions

View File

@@ -137,15 +137,6 @@ const BandoViewBeneficiario = () => {
}
const errCreateCallback = (data) => {
/*if (bandoMsgs.current && data.message) {
bandoMsgs.current.show([
{
sticky: true, severity: 'error', summary: '',
detail: data.message,
closable: true
}
]);
}*/
if (toast.current && data.message) {
toast.current.show({
severity: 'error',
@@ -163,15 +154,6 @@ const BandoViewBeneficiario = () => {
}
const errGetBandoCallback = (data) => {
/*if (bandoMsgs.current && data.message) {
bandoMsgs.current.show([
{
sticky: true, severity: 'error', summary: '',
detail: data.message,
closable: true
}
]);
}*/
if (toast.current && data.message) {
toast.current.show({
severity: 'error',