diff --git a/src/components/PillMenu.vue b/src/components/PillMenu.vue index fda20e654..f40f74aac 100644 --- a/src/components/PillMenu.vue +++ b/src/components/PillMenu.vue @@ -10,6 +10,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 @@ -46,6 +47,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 0bb6274f2..29f7d37fe 100644 --- a/src/views/Results.vue +++ b/src/views/Results.vue @@ -34,49 +34,6 @@ - - - - - - - - - - - - {{ t('forms', 'Share form') }} - - - - - - - {{ t('forms', 'Create spreadsheet') }} - - - - - - - {{ t('forms', 'Open spreadsheet') }} - - - - - @@ -94,6 +51,7 @@ @@ -142,6 +100,7 @@ {{ t('forms', 'Create spreadsheet') }} @@ -150,6 +109,7 @@ {{ t('forms', 'Save copy to Files') }} @@ -158,9 +118,8 @@ {{ t('forms', 'Download') }} - @@ -208,8 +167,31 @@ + + + + + + + + + + + + {{ t('forms', 'Share form') }} + + + + + - +