Skip to content

Commit

Permalink
Revert some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MonilBhavsar committed Jun 19, 2023
1 parent bfe8624 commit edade12
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/pages/settings/Report/ReportSettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class ReportSettingsPage extends Component {
*/
shouldDisableRename(linkedWorkspace) {
if (ReportUtils.isDefaultRoom(this.props.report) || ReportUtils.isArchivedRoom(this.props.report)) {
return false;
return true;
}

// The remaining checks only apply to public rooms
Expand Down
2 changes: 0 additions & 2 deletions src/pages/workspace/WorkspaceMembersPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,6 @@ class WorkspaceMembersPage extends React.Component {
validate() {
const errors = {};
_.each(this.state.selectedEmployees, (member) => {
console.debug(member);
console.debug(this.props.policy);
if (member !== this.props.policy.owner && member !== this.props.session.email) {
return;
}
Expand Down

0 comments on commit edade12

Please sign in to comment.