Skip to content

Commit abdfc95

Browse files
committed
chore(workplace): add custom message to auto-assign error
1 parent e9f9cfe commit abdfc95

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

apps/workplace/src/app/book/desk-flow/auto-assigned-desk-modal.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ export class AutoAssignedDeskModalComponent
397397
this.loading.set('');
398398
} catch (error) {
399399
console.error('Error auto-assigning desk:', error);
400-
notifyError(i18n('BOOKINGS.DESK_LIST_EMPTY'));
400+
notifyError(i18n('BOOKINGS.DESK_AUTO_ASSIGN_EMPTY'));
401401
this.dismiss();
402402
}
403403
}

shared/assets/locale/en-AU.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,7 @@
604604
"DESK_AVAILABLE_ERROR": "Desk is unavailable at this time.",
605605
"DESK_LIST_LOADING": "Finding available desks...",
606606
"DESK_LIST_EMPTY": "No available desks for selected time and/or filters",
607+
"DESK_AUTO_ASSIGN_EMPTY": "There are no available desks via auto-assignment. Please try via the Book Desk option.",
607608
"DESK_SELECT_MSG": "Select a desk to view its details",
608609
"DESK_AUTO_ASSIGNED_TITLE": "Auto-Assigned Desk",
609610
"DESK_REQUESTING": "Requesting desk...",

0 commit comments

Comments
 (0)