Skip to content

Commit

Permalink
Fix bug with missing collaborators array
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreb committed Aug 22, 2024
1 parent 294ea92 commit 6a8e3e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/src/app/apps/app/tasks/tasks.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ export class TasksComponent {
author: this.identity.did,
parentId: list.id,
index: list.todos.length + 1, // Start indices from 1 to avoid zero
collaborators: [],
};

// newTodoDescription.value = '';
Expand Down
2 changes: 1 addition & 1 deletion app/src/app/notifications/notifications.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h1>Notifications</h1>
<p>TODO: This notification should use the modern support for browser vendor based infrastructure for notifications.</p>

<button mat-flat-button (click)="generateNotification()">Create a sample notification</button>

&nbsp;
<button mat-flat-button (click)="enableNotifications()">Enable Device Notifications</button>
&nbsp;
<button mat-flat-button (click)="disableNotifications()">Disable Device Notifications</button>
Expand Down

0 comments on commit 6a8e3e8

Please sign in to comment.