File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 160160
161161 this .dbrecord .name = this .name
162162 this .dbrecord .illuminationtype = this .illuminationType
163- this .dbrecord .objmagnification = this .options .settings .objmagnification
163+ this .dbrecord .objmagnification = this .options .settings .objmagnification === " " ? null : this . options . settings . objmagnification
164164 this .dbrecord .auxmagnification = this .options .settings .auxmagnification
165165 this .dbrecord .pinholesize = this .options .settings .pinholesize
166166 this .dbrecord .model = this .options .settings .model instanceof Object ? this .options .settings .model .model : this .options .settings .model
170170 this .dbrecord .sysmagnification = this .options .settings .sysmagnification
171171 this .dbrecord .pinholespacing = this .options .settings .pinholespacing ?? null
172172
173-
174173 await TemplateAPI .save_settings_file (this .dbrecord )
175174 this .options .success = true
176175 }
You can’t perform that action at this time.
0 commit comments