mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-26 03:26:41 +07:00
possibly dealed with setting addresses
This commit is contained in:
parent
13c5ae08d9
commit
ad04704c3e
7 changed files with 65 additions and 17 deletions
|
@ -8,14 +8,18 @@ import { postMap } from '$utils/api';
|
|||
import classnames from 'classnames';
|
||||
|
||||
export class SaveDialog extends React.Component {
|
||||
state = {
|
||||
address: '',
|
||||
title: '',
|
||||
error: '',
|
||||
sending: false,
|
||||
finished: false,
|
||||
overwriting: false,
|
||||
};
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
this.state = {
|
||||
address: props.address || '',
|
||||
title: props.title || '',
|
||||
error: '',
|
||||
sending: false,
|
||||
finished: false,
|
||||
overwriting: false,
|
||||
};
|
||||
}
|
||||
|
||||
getAddress = () => {
|
||||
const { path } = getUrlData();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue