move DB logic out of 'created' in components since it's not needed yet

This commit is contained in:
2024-01-27 08:27:52 -07:00
parent f253f0af0f
commit 4fe072f19e
3 changed files with 19 additions and 23 deletions

View File

@@ -319,7 +319,7 @@ export default class HomeView extends Vue {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
} catch (err: any) {
console.log("Error retrieving settings and/or feed.", err);
console.log("Error retrieving settings or feed.", err);
this.$notify(
{
group: "alert",
@@ -327,7 +327,7 @@ export default class HomeView extends Vue {
title: "Error",
text:
err.userMessage ||
"There was an error retrieving your settings and/or the latest activity.",
"There was an error retrieving your settings or the latest activity.",
},
-1,
);