IO-2035 LMS Media.

This commit is contained in:
Patrick Fic
2022-08-30 12:26:22 -07:00
parent 64a31dc544
commit e25172f0bf
8 changed files with 1185 additions and 830 deletions

View File

@@ -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());