Commit 26ba0b7c authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Address minor review comments

parent 72680e7e
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
}, },
isUserAllowed(id) { isUserAllowed(id) {
const { permissions } = this; const { permissions } = this;
return permissions?.[id]; return Boolean(permissions?.[id]);
}, },
}, },
dayRangeOptions: [7, 30, 90], dayRangeOptions: [7, 30, 90],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment