diff --git a/arches/app/media/js/views/components/cards/photo-gallery-card.js b/arches/app/media/js/views/components/cards/photo-gallery-card.js index 7e7fda0380e..3af39ac78ae 100644 --- a/arches/app/media/js/views/components/cards/photo-gallery-card.js +++ b/arches/app/media/js/views/components/cards/photo-gallery-card.js @@ -53,7 +53,7 @@ define([ var mfs = "Missing maxFilesize"; self.card.widgets().forEach(function(widget){ if (widget.node_id() === self.fileListNodeId) { - mfs = widget.config.maxFilesize(); + mfs = widget.config.maxFilesize() || "--"; } }); return mfs;