Просмотр исходного кода

feat: :sparkles: feat(agendamento-sob-medida) Ajustado a dashboard para que não ficasse aparecendo o modal de pendente

Ajuste na dashboard onde o modal DashboardPendingCustomSchedules pode aparecer somente quando não tiver proposta aceita, caso tenha proposta aceita ele some e deixa apenas os cards de recusar ou aceitar ou recusar

fase:dev | origin:escopo
kayo henrique 1 месяц назад
Родитель
Сommit
a5ab344ae4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/pages/dashboard/DashboardPage.vue

+ 1 - 1
src/pages/dashboard/DashboardPage.vue

@@ -17,7 +17,7 @@
       <DashboardTodaySchedules v-if="todaySchedules.length > 0" :data="todaySchedules" @rate="openRatingDialog" />
       <DashboardScrollAreaSchedules />
       <DashboardClientProposals :data="clientProposals" @refresh-data="reloadDashboard" />
-      <DashboardPendingCustomSchedules />
+      <DashboardPendingCustomSchedules v-if="clientProposals.length === 0" />
       <DashboardNextSchedules v-if="nextSchedules.length > 0" :data="nextSchedules" @view-details="openNextScheduleDialog" />
       <DashboardLastDoneSchedules v-if="lastDoneSchedules.length > 0" :data="lastDoneSchedules" />
       <DashboardFavoriteProviders v-if="favoriteProviders.length > 0" :data="favoriteProviders" />