Skip to content

Commit cfa5eae

Browse files
Update webapp/TargetedMS/js/scheduleUtils.js
Co-authored-by: Ankur Juneja <ankurjuneja05@gmail.com>
1 parent 52310bd commit cfa5eae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webapp/TargetedMS/js/scheduleUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
// Return a time-only format string without seconds/millis based on the container setting
4444
utils.getTimeOnlyFormat = function() {
45-
if (window.LABKEY && LABKEY.container && LABKEY.container.formats && LABKEY.container.formats.timeFormat) {
45+
if (window.LABKEY && LABKEY.container?.formats?.timeFormat) {
4646
return LABKEY.container.formats.timeFormat.replace(':ss', '').replace('.SSS', '');
4747
}
4848
return 'HH:mm';

0 commit comments

Comments
 (0)