<template>
    <aui-base-page
        @refresh="refresh"
    >
        <aui-data-context
            :key="subscriberContextResourceId"
            :resource-object-id="subscriberContextId"
            :resource="subscriberContextResource"
            :resource-id="subscriberContextResourceId"
            :resource-expand="subscriberContextExpand"
        />
    </aui-base-page>
</template>
<script>
import AuiDataContext from 'components/AuiDataContext'
import AuiBasePage from 'pages/AuiBasePage'
import subscriberContextMixin from 'src/mixins/data-context-pages/subscriber'
export default {
    components: {
        AuiBasePage,
        AuiDataContext
    },
    mixins: [
        subscriberContextMixin
    ],
    methods: {
        async refresh () {
            await this.reloadSubscriberContext()
        }
    }
}
</script>
