mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-18 14:04:04 +00:00
Fixed frontend coding style problems
This commit is contained in:
@ -50,7 +50,9 @@
|
||||
return obj;
|
||||
}
|
||||
else if ((typeof obj === 'object') && (obj !== null)) {
|
||||
return Object.entries(obj).map(([ k, item ]) => ({ ...item, [key]: k }));
|
||||
return Object.entries(obj).map(([ k, item ]) => {
|
||||
return { ...item, [key]: k };
|
||||
});
|
||||
}
|
||||
else {
|
||||
return obj;
|
||||
|
Reference in New Issue
Block a user