|
|
|
|
66
|
if (model == null) {
|
66
|
if (model == null) {
|
67
|
return null;
|
67
|
return null;
|
68
|
}
|
68
|
}
|
69
|
- var dbo = DataAccess.extendDeep({}, DataAccess.defaultDbo, model);
|
|
|
|
|
69
|
+ var dbo = DataAccess.extendDeep({}, angular.copy(DataAccess.defaultDbo), model);
|
70
|
dbo.createdAt = luUtilsDataAccess.stringToMomentDateTime(dbo.createdAt);
|
70
|
dbo.createdAt = luUtilsDataAccess.stringToMomentDateTime(dbo.createdAt);
|
71
|
dbo.updatedAt = luUtilsDataAccess.stringToMomentDateTime(dbo.updatedAt);
|
71
|
dbo.updatedAt = luUtilsDataAccess.stringToMomentDateTime(dbo.updatedAt);
|
72
|
return dbo;
|
72
|
return dbo;
|