IO-2035 LMS Media.
This commit is contained in:
@@ -193,7 +193,7 @@ export default connect(
|
||||
)(ScreenMainComponent);
|
||||
|
||||
function HasAccess({ features }) {
|
||||
if (features.mobile === undefined) return true;
|
||||
if (features.mobile === undefined || features.mobile === true) return true;
|
||||
if (features.mobile === false) return false;
|
||||
const d = moment(moment(features.mobile));
|
||||
if (d.isValid()) return d.isAfter(moment());
|
||||
|
||||
Reference in New Issue
Block a user