Skip to content

Commit

Permalink
Change reload alert to a more user-oriented message
Browse files Browse the repository at this point in the history
  • Loading branch information
jferas committed Mar 25, 2024
1 parent f207517 commit fb40c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/utils/umbra-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class UmbraApi {
if (apiVersionFromSettings.major != version.major || apiVersionFromSettings.minor != version.minor) {
console.log('UmbraAPI: version mismatch, clearing settings and going to force a page reload');
clearUmbraApiVersion();
alert('UmbraAPI: version mismatch, clearing settings and going to force a page reload');
alert('UmbraAPI: version outdated, please reload the page');
window.location.reload();
}
}
Expand Down

0 comments on commit fb40c3d

Please sign in to comment.