mirror of
https://git.rape.pet/ulith/amputoma-fe.git
synced 2025-02-20 20:08:14 +01:00
17 lines
374 B
JavaScript
17 lines
374 B
JavaScript
export default {
|
|
props: {
|
|
backupCodes: {
|
|
type: Object,
|
|
default: () => ({
|
|
inProgress: false,
|
|
codes: []
|
|
})
|
|
}
|
|
},
|
|
data: () => ({}),
|
|
computed: {
|
|
inProgress () { return this.backupCodes.inProgress },
|
|
ready () { return this.backupCodes.codes.length > 0 },
|
|
displayTitle () { return this.inProgress || this.ready }
|
|
}
|
|
}
|