Skip to content

Commit

Permalink
Add todo to comment so it's clearer theres some action to be done in …
Browse files Browse the repository at this point in the history
…remove this
  • Loading branch information
Amal Nazeem committed Aug 17, 2021
1 parent fcbeadf commit b40cabf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/WorkspaceSidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const WorkspaceSidebar = ({
];

// After all the policies have loaded, we can know if the given policyID points to a nonexistant workspace
// When free plan is out of beta and Permissions.canUseFreePlan() gets removed,
// TODO: When free plan is out of beta and Permissions.canUseFreePlan() gets removed,
// all code involving 'allPolicies' can be removed since policy loading will no longer be delayed on login.
if (allPolicies !== null && _.isEmpty(policy)) {
Growl.error(translate('workspace.error.growlMessageInvalidPolicy'), CONST.GROWL.DURATION_LONG);
Expand Down

0 comments on commit b40cabf

Please sign in to comment.