mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 15:38:15 +00:00
[eslint] updated eslintrc and improved the code (#4702)
This commit is contained in:
@@ -49,15 +49,15 @@ class ResetEncryptedRepoPasswordDialog extends React.Component {
|
||||
{gettext('Reset library password')}
|
||||
</ModalHeader>
|
||||
<ModalBody>
|
||||
{this.state.showLoading && (
|
||||
<span>{gettext('Sending new password...')}</span>
|
||||
)}
|
||||
{this.state.showSuccess && (
|
||||
<div dangerouslySetInnerHTML={{__html:message}} />
|
||||
)}
|
||||
{this.state.showError && (
|
||||
<span className="err-message">{this.state.errMessage}</span>
|
||||
)}
|
||||
{this.state.showLoading && (
|
||||
<span>{gettext('Sending new password...')}</span>
|
||||
)}
|
||||
{this.state.showSuccess && (
|
||||
<div dangerouslySetInnerHTML={{__html:message}} />
|
||||
)}
|
||||
{this.state.showError && (
|
||||
<span className="err-message">{this.state.errMessage}</span>
|
||||
)}
|
||||
</ModalBody>
|
||||
</Modal>
|
||||
);
|
||||
|
Reference in New Issue
Block a user