Skip to content

Commit

Permalink
reverting #73 4b4ff59
Browse files Browse the repository at this point in the history
  • Loading branch information
z-priest committed Nov 2, 2021
1 parent efe9cee commit 847715a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/db/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class StigDB {
constructor(dbname: string) {
ipcRenderer.on('database_reconfigured', (_event: Event, options: IDatabaseConfigOptions) => this.changeConfig(options));
this.diff_dialog = new DiffDialog($('#diff-anchor'));
if (this.dbname === undefined) {
if (dbname === undefined) {
this.configure();
} else {
this.changeConfig(DatabaseConfigurationStorage.Instance.get(dbname));
Expand Down Expand Up @@ -895,8 +895,8 @@ export class StigDB {
}
}

/**
* @description Updates the database from the editor form
/**
* @description Updates the database from the editor form
* @param {StixObject} formdata
* @returns Promise<string>
* @memberof StigDB
Expand Down

0 comments on commit 847715a

Please sign in to comment.