forked from jsnbuchanan/crowd-funder-for-time-pwa
Fix unused variables and formatting from console.log cleanup
- Remove unused existingResult variable from importFromMnemonic function - Fix empty catch block with proper error handling in ImportAccountView.vue - Simplify debug database check in OnboardMeetingListView.vue - Apply prettier formatting fixes across all modified files - Resolve all 12 lint errors, maintaining only 16 pre-existing warnings - Verify build passes with all changes
This commit is contained in:
@@ -154,32 +154,16 @@ export default class OnboardMeetingListView extends Vue {
|
||||
showPasswordDialog = false;
|
||||
|
||||
async created() {
|
||||
|
||||
const settings = await this.$accountSettings();
|
||||
|
||||
if (settings?.activeDid) {
|
||||
try {
|
||||
// Check master settings
|
||||
const masterSettings = await this.$query(
|
||||
"SELECT * FROM settings WHERE id = ?",
|
||||
[1],
|
||||
);
|
||||
|
||||
// Check account-specific settings
|
||||
const accountSettings = await this.$query(
|
||||
"SELECT * FROM settings WHERE accountDid = ?",
|
||||
[settings.activeDid],
|
||||
);
|
||||
|
||||
// Check if there are any settings with isRegistered = 1
|
||||
const registeredSettings = await this.$query(
|
||||
"SELECT * FROM settings WHERE isRegistered = 1",
|
||||
);
|
||||
|
||||
// Check all settings for this user
|
||||
const allSettings = await this.$query("SELECT * FROM settings");
|
||||
// Verify database settings are accessible
|
||||
await this.$query("SELECT * FROM settings WHERE accountDid = ?", [
|
||||
settings.activeDid,
|
||||
]);
|
||||
} catch (error) {
|
||||
logger.error("Error checking raw database:", error);
|
||||
logger.error("Error checking database settings:", error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user