Skip to content

Commit

Permalink
added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rojiphil committed Jan 29, 2024
1 parent 3b5f6e5 commit efb5817
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/workspace/WorkspaceInitialPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ function WorkspaceInitialPage(props) {
onSelected: () => setIsDeleteModalOpen(true),
},
];
// Menu options to navigate to the chat report of #admins and #announce room.
// For navigation, the chat report ids may be unavailable due to the missing chat reports in Onyx.
// In such cases, let us use the available chat report ids from the policy.
if (adminsRoom || policy.chatReportIDAdmins) {
items.push({
icon: Expensicons.Hashtag,
Expand Down

0 comments on commit efb5817

Please sign in to comment.