Don't show error when everything was OK
This commit is contained in:
Родитель
326a24c225
Коммит
db96d0aeb5
|
@ -94,7 +94,7 @@ async function updateBreachStatus (input) {
|
|||
})
|
||||
})
|
||||
|
||||
if (res.ok) {
|
||||
if (!res.ok) {
|
||||
throw new ClientError('We couldn’t search for the latest breaches. Please refresh or try again later.', {
|
||||
action: ErrorActionTypes.Toast
|
||||
})
|
||||
|
|
Загрузка…
Ссылка в новой задаче