window.c.ProjectCard = (function(m, h, models){
  return {

    view: function(ctrl, args) {
      var project = args.project,
          progress = project.progress.toFixed(2),
          remainingTextObj = h.generateRemaingTime(project)();

      return m(".w-col.w-col-4", [
        m(".card-project.card.u-radius", [
          m("a.card-project-thumb[href='" +  project.permalink + "'][target='_blank']", {style: {"background-image": "url(" + project.project_img + ")", "display": "block"}}),
          m(".card-project-description.alt", [
            m(".fontweight-semibold.u-text-center-small-only.lineheight-tight.u-marginbottom-10.fontsize-base", [
              m('a.link-hidden[target="_blank"][href="/' + project.permalink + '"]', project.project_name)
            ]
          ),
            m(".w-hidden-small.w-hidden-tiny.fontsize-smallest.fontcolor-secondary.u-marginbottom-20", "por " + project.owner_name),
            m(".w-hidden-small.w-hidden-tiny.fontcolor-secondary.fontsize-smaller", [
              m('a.link-hidden[target="_blank"][href="/' + project.permalink + '"]', project.headline)
            ])
          ]),
          m(".w-hidden-small.w-hidden-tiny.card-project-author.altt", [
            m(".fontsize-smallest.fontcolor-secondary", [m("span.fa.fa-map-marker.fa-1", " "), " " +  project.city_name + ", " + project.state_acronym])
          ]),
          m(".card-project-meter", [
            m(".meter", [
              m('.meter-fill', {style: {width: (progress > 100 ? 100 : progress) + '%'}})
            ])
          ]),
          m(".card-project-stats", [
            m(".w-row", [
              m(".w-col.w-col-4.w-col-small-4.w-col-tiny-4", [
                m(".fontsize-base.fontweight-semibold", Math.ceil(project.progress) +  "%")
              ]),
              m(".w-col.w-col-4.w-col-small-4.w-col-tiny-4.u-text-center-small-only", [
                m(".fontsize-smaller.fontweight-semibold", "R$ " + project.pledged),
                m(".fontsize-smallest.lineheight-tightest", "Levantados")
              ]),
              m(".w-col.w-col-4.w-col-small-4.w-col-tiny-4.u-text-right", [
                m(".fontsize-smaller.fontweight-semibold", remainingTextObj.total + ' ' + remainingTextObj.unit),
                m(".fontsize-smallest.lineheight-tightest", "Restantes")
              ])
            ])
          ])
        ])
      ]);
    }
  };
}(window.m, window.c.h, window.c.models));


@@ -32,22 +32,17 @@
 n(m, h, 
-models
+_
 )%7B%0A  ret
@@ -136,16 +136,27 @@
 gress = 
+(_.isEmpty(
 project.
@@ -163,16 +163,41 @@
 progress
+) ? project.progress : 0)
 .toFixed
@@ -2462,16 +2462,9 @@
 dow.
-c.models
+_
 ));%0A

check if progress is empty before apply toFixed