Skip to content

Commit f183705

Browse files
committed
chore(workplace): fix updating desks after delete
1 parent 6a95b63 commit f183705

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/workplace/src/app/landing-new/landing-desk-week.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,8 @@ export class LandingDeskWeekComponent
562562
data: {
563563
booking,
564564
edit_fn: (b) => this._schedule.editBooking(b),
565-
remove_fn: (b, s) => {
566-
this._schedule.remove(b, s);
565+
remove_fn: async (b, s) => {
566+
await this._schedule.remove(b, s);
567567
this.selected_date.set(Date.now());
568568
},
569569
end_fn: (b) => this._schedule.end(b),

0 commit comments

Comments
 (0)