iptv/scripts/store/setters/is_broken.js

8 lines
145 B
JavaScript
Raw Normal View History

2021-12-12 05:12:06 +01:00
module.exports = function ({ is_broken = false, status }) {
if (status) {
return status.level > 3 ? true : false
}
return is_broken
}