fix numeric IDs not working with persistence, use u32 instead of u64, switch to numeric by default
This commit is contained in:
@@ -23,8 +23,8 @@ export function objCopy(object) {
|
||||
}
|
||||
|
||||
export function castId(id) {
|
||||
return id.toString();
|
||||
//return +id;
|
||||
//return id.toString();
|
||||
return +id;
|
||||
}
|
||||
|
||||
// like _.isEmpty, but less stupid
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user