hayun-vite 0.15.2 → 0.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Form/Form.js +3 -3
package/package.json
CHANGED
package/src/Form/Form.js
CHANGED
@@ -179,14 +179,14 @@ export default class Form {
|
|
179
179
|
}
|
180
180
|
// }
|
181
181
|
// if (keys.includes("audiogram")) {
|
182
|
-
if (JSON.stringify(this.data.audiogram) !== JSON.stringify(data.audiogram)) {
|
182
|
+
if (JSON.stringify(this.data.audiogram) !== JSON.stringify(data.audiogram) && data.audiogram) {
|
183
183
|
this.RAudiogram?.update({ data: session.audiogram?.R, side: 'R' })
|
184
184
|
this.LAudiogram?.update({ data: session.audiogram?.L, side: 'L' })
|
185
185
|
}
|
186
186
|
this.data.audiogram = session.audiogram
|
187
187
|
// }
|
188
188
|
// if (keys.includes("speech")) {
|
189
|
-
if (JSON.stringify(this.data.speech) !== JSON.stringify(data.speech)) {
|
189
|
+
if (JSON.stringify(this.data.speech) !== JSON.stringify(data.speech) && data.speech) {
|
190
190
|
this.RSpeech?.update(session.speech?.R)
|
191
191
|
this.LSpeech?.update(session.speech?.L)
|
192
192
|
}
|
@@ -200,7 +200,7 @@ export default class Form {
|
|
200
200
|
this.data.tympanogram = session.tympanogram;
|
201
201
|
// }
|
202
202
|
// if (keys.includes("reflex")) {
|
203
|
-
if (JSON.stringify(this.data.reflex) !== JSON.stringify(data.reflex)) {
|
203
|
+
if (JSON.stringify(this.data.reflex) !== JSON.stringify(data.reflex) && data.reflex) {
|
204
204
|
this.RReflex?.update(session.reflex?.R)
|
205
205
|
this.LReflex?.update(session.reflex?.L)
|
206
206
|
}
|