Fix minor bugs
This commit is contained in:
parent
214a44d4b1
commit
44bb4be1fa
3 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"POT-Creation-Date: 2019-12-04T10:13:32.661Z\n"
|
"POT-Creation-Date: 2019-12-04T14:17:34.264Z\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
|
@ -1872,10 +1872,10 @@ msgid "Change photo"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: build/locale/src/staff/components/StaffPassword/StaffPassword.json
|
#: build/locale/src/staff/components/StaffPassword/StaffPassword.json
|
||||||
#. [src.staff.components.StaffPassword.1434811103] - utton
|
#. [src.staff.components.StaffPassword.1434811103] - button
|
||||||
#. defaultMessage is:
|
#. defaultMessage is:
|
||||||
#. Change your password
|
#. Change your password
|
||||||
msgctxt " utton"
|
msgctxt "button"
|
||||||
msgid "Change your password"
|
msgid "Change your password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ const StaffPassword: React.FC<StaffPasswordProps> = ({ onChangePassword }) => {
|
||||||
<Button color="primary" onClick={onChangePassword}>
|
<Button color="primary" onClick={onChangePassword}>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
defaultMessage="Change your password"
|
defaultMessage="Change your password"
|
||||||
description=" utton"
|
description="button"
|
||||||
/>
|
/>
|
||||||
</Button>
|
</Button>
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,7 +90,7 @@ const StaffPasswordResetDialog: React.FC<StaffPasswordResetDialogProps> = ({
|
||||||
<FormattedMessage {...buttonMessages.back} />
|
<FormattedMessage {...buttonMessages.back} />
|
||||||
</Button>
|
</Button>
|
||||||
<ConfirmButton
|
<ConfirmButton
|
||||||
disabled={!(data.newPassword.length >= 8)}
|
disabled={data.newPassword.length < 8}
|
||||||
transitionState={confirmButtonState}
|
transitionState={confirmButtonState}
|
||||||
color="primary"
|
color="primary"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
|
|
Loading…
Reference in a new issue