cat-qw-lib 0.32.3 → 0.32.4
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/fesm2022/cat-qw-lib.mjs
CHANGED
|
@@ -1284,7 +1284,7 @@ class BaseFormComponent {
|
|
|
1284
1284
|
this.service.update(this.record._id, this.record).subscribe({
|
|
1285
1285
|
next: (response) => {
|
|
1286
1286
|
console.log('Record updated:', response);
|
|
1287
|
-
this.record = {};
|
|
1287
|
+
// this.record = {} as T;
|
|
1288
1288
|
this.baseStore?.setIsApiValidated(null);
|
|
1289
1289
|
this.onFormNavigate.emit(response);
|
|
1290
1290
|
},
|
|
@@ -1299,7 +1299,7 @@ class BaseFormComponent {
|
|
|
1299
1299
|
this.service.create(this.record).subscribe({
|
|
1300
1300
|
next: (response) => {
|
|
1301
1301
|
console.log('Record created:', response);
|
|
1302
|
-
this.record = {};
|
|
1302
|
+
// this.record = {} as T;
|
|
1303
1303
|
this.baseStore?.setIsApiValidated(null);
|
|
1304
1304
|
this.onFormNavigate.emit(response);
|
|
1305
1305
|
},
|