♻️ refactor(helpers): refactor the helpers folder and related imports
This commit is contained in:
7
web/src/helpers/log.js
Normal file
7
web/src/helpers/log.js
Normal file
@@ -0,0 +1,7 @@
|
||||
export function getLogOther(otherStr) {
|
||||
if (otherStr === undefined || otherStr === '') {
|
||||
otherStr = '{}';
|
||||
}
|
||||
let other = JSON.parse(otherStr);
|
||||
return other;
|
||||
}
|
||||
Reference in New Issue
Block a user