logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe

mfa_backup_codes.js (374B)


      1 export default {
      2   props: {
      3     backupCodes: {
      4       type: Object,
      5       default: () => ({
      6         inProgress: false,
      7         codes: []
      8       })
      9     }
     10   },
     11   data: () => ({}),
     12   computed: {
     13     inProgress () { return this.backupCodes.inProgress },
     14     ready () { return this.backupCodes.codes.length > 0 },
     15     displayTitle () { return this.inProgress || this.ready }
     16   }
     17 }