restore original layout

master
Martin Zwigl 2025-03-21 22:36:55 +01:00
parent e9f03ab2bc
commit c3f966790c
1 changed files with 4 additions and 0 deletions

View File

@ -149,12 +149,16 @@ function showDetails() {
`; `;
E.showAlert(msg, "Token Details").then(function() { E.showAlert(msg, "Token Details").then(function() {
// print("Ok pressed"); // print("Ok pressed");
g.clear();
layout.render();
}); });
}) })
.catch(err => { .catch(err => {
const msg = `Failed to fetch details for ${token.toUpperCase()}`; const msg = `Failed to fetch details for ${token.toUpperCase()}`;
E.showAlert(msg, "Error").then(function() { E.showAlert(msg, "Error").then(function() {
// print("Ok pressed"); // print("Ok pressed");
g.clear();
layout.render();
}); });
}); });
} }