Добавить в напоминание о встрече кнопку «Отложить до начала»
All checks were successful
Release / release (push) Successful in 7m12s

This commit is contained in:
r.rasputin 2026-12-04 13:55:22 +07:00
parent 82676e2ec4
commit f92a5931ff

View file

@ -106,6 +106,14 @@ function open(key: string): void { void invoke('reminder:open', { key }) }
> >
Отложить 5 мин Отложить 5 мин
</button> </button>
<!-- Напоминание в момент начала встречи планируется отдельно. -->
<button
v-if="reminder.kind === 'before' && !reminder.event.isAllDay && new Date(reminder.event.start).getTime() > now"
class="action-btn"
@click="dismiss(reminder.key)"
>
Отложить до начала
</button>
</div> </div>
</div> </div>
</div> </div>
@ -226,6 +234,7 @@ function open(key: string): void { void invoke('reminder:open', { key }) }
.card-actions { .card-actions {
display: flex; display: flex;
flex-wrap: wrap;
gap: 6px; gap: 6px;
margin-top: auto; margin-top: auto;
-webkit-app-region: no-drag; -webkit-app-region: no-drag;