Merge pull request #246 from Safelite/feature/CSR-296

CSR-296: restore d-none class to hide single answers
This commit is contained in:
AdamCaouetteSafelite 2022-02-23 14:36:00 -05:00 committed by GitHub
commit a779763047
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
<template>
<transition name="fade" mode="out-in">
<div v-if="isAvailable && this.answersToDisplay.length > 0" class="replace-options-question" aria-live="polite">
<div v-if="isAvailable && this.answersToDisplay.length > 0" class="replace-options-question" :class="this.answersToDisplay.length < 2 ? 'd-none' : ''" aria-live="polite">
<buttonQuestion
isWide
:questionText="questionText"