29 lines
577 B
Vue
29 lines
577 B
Vue
<template>
|
|
<div class="mailbox">
|
|
<mailbox :vmailapi="vmailapi" :headers="attrs"/>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
// @ is an alias to /src
|
|
import mailbox from '@/components/mailbox.vue'
|
|
|
|
export default {
|
|
name: 'Mailbox',
|
|
data() {
|
|
return {
|
|
attrs : [
|
|
{text: "Username", value:"Username"},
|
|
{text: "Active", value:"Active"},
|
|
{text: "Maildir", value:"Maildir"},
|
|
{text: "Created", value:"Created"},
|
|
{text: "Modified", value:"Modified"},
|
|
]
|
|
}
|
|
},
|
|
components: {
|
|
mailbox
|
|
},
|
|
props: ["vmailapi"]
|
|
}
|
|
</script> |