mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-08-03 13:02:26 +00:00
feat: polish
This commit is contained in:
parent
16d060496e
commit
930582dc49
2 changed files with 5 additions and 5 deletions
|
|
@ -149,10 +149,10 @@
|
|||
}}
|
||||
</button>
|
||||
<button
|
||||
(click)="completeAll()"
|
||||
(click)="markAllAsDone()"
|
||||
[disabled]="isDisableControls"
|
||||
mat-button
|
||||
color="primary"
|
||||
mat-stroked-button
|
||||
type="button"
|
||||
>
|
||||
<mat-icon>check</mat-icon>
|
||||
|
|
@ -165,7 +165,7 @@
|
|||
</button>
|
||||
@if (!isMultiple && (isSingleOnToday$ | async)) {
|
||||
<button
|
||||
(click)="markAsDone()"
|
||||
(click)="markSingleAsDone()"
|
||||
[disabled]="isDisableControls"
|
||||
color="primary"
|
||||
mat-stroked-button
|
||||
|
|
|
|||
|
|
@ -230,7 +230,7 @@ export class DialogViewTaskRemindersComponent implements OnDestroy {
|
|||
);
|
||||
}
|
||||
|
||||
markAsDone(): void {
|
||||
markSingleAsDone(): void {
|
||||
this._subs.add(
|
||||
this.tasks$.pipe(first()).subscribe((tasks) => {
|
||||
if (tasks.length === 1) {
|
||||
|
|
@ -304,7 +304,7 @@ export class DialogViewTaskRemindersComponent implements OnDestroy {
|
|||
}
|
||||
}
|
||||
|
||||
async completeAll(): Promise<void> {
|
||||
async markAllAsDone(): Promise<void> {
|
||||
await this.markAllTasksAsDone();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue