diff --git a/app/javascript/dashboard/components-next/captain/PageLayout.vue b/app/javascript/dashboard/components-next/captain/PageLayout.vue index a9d36a019..de3bd8c99 100644 --- a/app/javascript/dashboard/components-next/captain/PageLayout.vue +++ b/app/javascript/dashboard/components-next/captain/PageLayout.vue @@ -4,6 +4,7 @@ import { useAccount } from 'dashboard/composables/useAccount'; import Button from 'dashboard/components-next/button/Button.vue'; import PaginationFooter from 'dashboard/components-next/pagination/PaginationFooter.vue'; import Spinner from 'dashboard/components-next/spinner/Spinner.vue'; +import Policy from 'dashboard/components/policy.vue'; const { featureFlag } = defineProps({ currentPage: { @@ -22,6 +23,10 @@ const { featureFlag } = defineProps({ type: String, default: '', }, + buttonPolicy: { + type: Array, + default: () => [], + }, buttonLabel: { type: String, default: '', @@ -76,13 +81,15 @@ const handlePageChange = event => { v-on-clickaway="() => emit('close')" class="relative group/campaign-button" > -