If-blocks in the new version of framework7

in Framework7 5.7.7 I had this:

{{#if logeado}}
   .....
   ......
{{/if}}

export default {
data: function () {
  var array = JSON.parse(localStorage.getItem("datos_usu"));

  if(array && array.result == 'DONE'){  
    var logeado = true;
  } else {
    var logeado = false;
  }

  return {
    logeado: logeado,
  };
},
methods: { },
on:{
  pageInit: function(page) {
   
  }
 },
};

but in Framework7 6.0.22 it doesn’t work and I don’t know how to put it and I can’t find the information.

Thanks