@shisyamo4131/air-guard-v2-schemas 2.3.7-dev.50 → 2.3.7-dev.51
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/Employee.js +2 -2
package/package.json
CHANGED
package/src/Employee.js
CHANGED
|
@@ -276,7 +276,7 @@ export default class Employee extends FireModel {
|
|
|
276
276
|
set(v) {
|
|
277
277
|
if (v !== _lastName) {
|
|
278
278
|
_lastName = v;
|
|
279
|
-
this.displayName = `${_lastName}${this.firstName}`.trim();
|
|
279
|
+
this.displayName = `${_lastName}${this.firstName || ""}`.trim();
|
|
280
280
|
}
|
|
281
281
|
},
|
|
282
282
|
},
|
|
@@ -289,7 +289,7 @@ export default class Employee extends FireModel {
|
|
|
289
289
|
set(v) {
|
|
290
290
|
if (v !== _firstName) {
|
|
291
291
|
_firstName = v;
|
|
292
|
-
this.displayName = `${this.lastName}${_firstName}`.trim();
|
|
292
|
+
this.displayName = `${this.lastName || ""}${_firstName}`.trim();
|
|
293
293
|
}
|
|
294
294
|
},
|
|
295
295
|
},
|