Fix cast bigInt -> number / Prettier issue

This commit is contained in:
CEC 2022-04-19 17:02:08 +02:00
parent e45fcb371c
commit 5a0eec1eb9

View File

@ -657,7 +657,7 @@ export class SocketManager implements ZoneEventListener {
if(error.urlToRedirect) errorMessage.setUrltoredirect(error.urlToRedirect);
if(error.buttonTitle) errorMessage.setButtontitle(error.buttonTitle);
if(!!error.canRetryManual) errorMessage.setCanretrymanual(error.canRetryManual);
if(error.timeToRetry) errorMessage.setTimetoretry(error.timeToRetry);
if(error.timeToRetry && !isNaN(Number(error.timeToRetry))) errorMessage.setTimetoretry(Number(error.timeToRetry));
const serverToClientMessage = new ServerToClientMessage();
serverToClientMessage.setErrorscreenmessage(errorMessage);