Skip to content

Commit

Permalink
[BUGFIX]
Browse files Browse the repository at this point in the history
  • Loading branch information
ndasanayaka committed Feb 10, 2023
1 parent 1b65db2 commit abcb586
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/SettingsDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
this.dbrecord.name = this.name
this.dbrecord.illuminationtype = this.illuminationType
this.dbrecord.objmagnification = this.options.settings.objmagnification
this.dbrecord.objmagnification = this.options.settings.objmagnification === "" ? null : this.options.settings.objmagnification
this.dbrecord.auxmagnification = this.options.settings.auxmagnification
this.dbrecord.pinholesize = this.options.settings.pinholesize
this.dbrecord.model = this.options.settings.model instanceof Object ? this.options.settings.model.model : this.options.settings.model
Expand All @@ -170,7 +170,6 @@
this.dbrecord.sysmagnification = this.options.settings.sysmagnification
this.dbrecord.pinholespacing = this.options.settings.pinholespacing ?? null
await TemplateAPI.save_settings_file(this.dbrecord)
this.options.success = true
}
Expand Down

0 comments on commit abcb586

Please sign in to comment.