We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7cf79a commit c071822Copy full SHA for c071822
src/App.vue
@@ -134,18 +134,16 @@ export default {
134
fetchNotes()
135
.then(data => {
136
if (data === null) {
137
- // nothing changed
138
return
139
}
140
if (data.notes !== null) {
141
this.error = false
142
- console.log('settings', store.state.app.settings)
143
if (store.state.app.settings?.loadRecentOnStartUp) {
144
this.routeDefault(data.lastViewedNote)
145
} else {
146
this.routeWelcome()
147
148
-
+
149
} else if (this.loading.notes) {
150
// only show error state if not loading in background
151
this.error = data.errorMessage
0 commit comments