s
This commit is contained in:
parent
e47ee4aa8c
commit
8518072c7e
8 changed files with 134 additions and 30 deletions
|
@ -31,6 +31,7 @@ export interface MetadataResp {
|
|||
size: number;
|
||||
modTime: string;
|
||||
isDir: boolean;
|
||||
sha1: string;
|
||||
}
|
||||
|
||||
export interface UploadStatusResp {
|
||||
|
|
|
@ -453,6 +453,8 @@ export class Browser extends React.Component<Props, State, {}> {
|
|||
</span>
|
||||
/
|
||||
<span>{FileSize(item.size, { round: 0 })}</span>
|
||||
/
|
||||
<span>{item.sha1}</span>
|
||||
</div>
|
||||
</span>,
|
||||
])}
|
||||
|
|
|
@ -50,9 +50,9 @@ export class PaneSettings extends React.Component<Props, State, {}> {
|
|||
.setPwd(this.state.oldPwd, this.state.newPwd1)
|
||||
.then((ok: boolean) => {
|
||||
if (ok) {
|
||||
alertMsg(this.props.msg.pkg.get("settings.pwd.updated"));
|
||||
alertMsg(this.props.msg.pkg.get("update.ok"));
|
||||
} else {
|
||||
alertMsg(this.props.msg.pkg.get("settings.pwd.fail"));
|
||||
alertMsg(this.props.msg.pkg.get("update.fail"));
|
||||
}
|
||||
this.setState({
|
||||
oldPwd: "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue