fix: upgrading from 5.0.1 to latest now works, code style changes etc

This commit is contained in:
David Ralph
2021-06-20 13:09:41 +01:00
parent 796896571d
commit dc442ef917
9 changed files with 30 additions and 26 deletions

View File

@@ -17,7 +17,8 @@ export default class App extends React.PureComponent {
}
// 4.0 -> 5.0 (the key below is only on 5.0)
if (!localStorage.getItem('order')) {
// now featuring 5.0 -> 5.1
if (!localStorage.getItem('order') || !localStorage.getItem('autocompleteProvider')) {
SettingsFunctions.moveSettings();
window.location.reload();
}