Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski committed Sep 15, 2020
1 parent 2c324ea commit f2b16b2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ export const useNetworkKpiUniquePrivateIps = ({
setLoading(false);
}
// TODO: Make response error status clearer
notifications.toasts.addWarning(i18n.ERROR_NETWORK_KPI_DNS);
notifications.toasts.addWarning(i18n.ERROR_NETWORK_KPI_UNIQUE_PRIVATE_IPS);
searchSubscription$.unsubscribe();
}
},
error: (msg) => {
if (!(msg instanceof AbortError)) {
notifications.toasts.addDanger({
title: i18n.FAIL_NETWORK_KPI_DNS,
title: i18n.FAIL_NETWORK_KPI_UNIQUE_PRIVATE_IPS,
text: msg.message,
});
}
Expand Down

0 comments on commit f2b16b2

Please sign in to comment.