Добавить в напоминание о встрече кнопку «Отложить до начала»
All checks were successful
Release / release (push) Successful in 7m12s
All checks were successful
Release / release (push) Successful in 7m12s
This commit is contained in:
parent
82676e2ec4
commit
f92a5931ff
1 changed files with 9 additions and 0 deletions
|
|
@ -106,6 +106,14 @@ function open(key: string): void { void invoke('reminder:open', { key }) }
|
|||
>
|
||||
Отложить 5 мин
|
||||
</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>
|
||||
|
|
@ -226,6 +234,7 @@ function open(key: string): void { void invoke('reminder:open', { key }) }
|
|||
|
||||
.card-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin-top: auto;
|
||||
-webkit-app-region: no-drag;
|
||||
|
|
|
|||
Loading…
Reference in a new issue