new-api/web/src/helpers/other.js

7 lines
184 B
JavaScript
Raw Normal View History

export function getLogOther(otherStr) {
if (otherStr === undefined || otherStr === '') {
otherStr = '{}'
}
let other = JSON.parse(otherStr)
return other
}