Skip to content

Commit

Permalink
settings/panes/account/AccountPane: allow directly linking to account…
Browse files Browse the repository at this point in the history
… deletion modal
  • Loading branch information
thatoddmailbox committed Mar 28, 2024
1 parent 8b670b1 commit eabf783
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/settings/panes/account/AccountPane.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ import LoadingIndicator from "ui/LoadingIndicator.jsx";
import PrefCheckbox from "settings/PrefCheckbox.jsx";

export default class AccountPane extends Component {
componentDidMount() {
if (window.location.hash.indexOf("requestAccountDeletion") > -1) {
this.deleteAccount();
}
}

changeBackground() {
this.props.openModal("background", {});
}
Expand Down

0 comments on commit eabf783

Please sign in to comment.