diff --git a/src/components/PillMenu.vue b/src/components/PillMenu.vue index 237fc60ad..2612c801c 100644 --- a/src/components/PillMenu.vue +++ b/src/components/PillMenu.vue @@ -27,6 +27,7 @@ :key="option.id" :aria-label="isMobile ? option.ariaLabel : null" :checked="active.id" + :disabled="disabled" class="pill-menu__toggle" :class="{ 'pill-menu__toggle--icon-only': isMobile && option.icon }" button-variant @@ -63,6 +64,15 @@ export default { type: Object, required: true, }, + + /** + * If the PillMenu is disabled + */ + disabled: { + type: Boolean, + required: true, + }, + /** * List of available options * `option: {id: string, title: string, ariaLabel: string, icon?: string}` diff --git a/src/views/Results.vue b/src/views/Results.vue index 39139612f..00505c24e 100644 --- a/src/views/Results.vue +++ b/src/views/Results.vue @@ -53,49 +53,6 @@ - - - - - - {{ t('forms', 'Download') }} -