mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
fix save button should not react to clicks
This commit is contained in:
parent
16f5875adc
commit
b2760307e4
2 changed files with 7 additions and 3 deletions
|
@ -65,7 +65,10 @@ class Component extends React.PureComponent<Props, void> {
|
|||
startProviderMode = () => this.props.setMode(MODES.PROVIDER);
|
||||
startTrashMode = () => this.props.setMode(MODES.TRASH);
|
||||
startLogoMode = () => this.props.setMode(MODES.LOGO);
|
||||
startSaveMode = () => this.props.setMode(MODES.SAVE);
|
||||
startSaveMode = () => {
|
||||
if (!this.props.changed) return;
|
||||
this.props.setMode(MODES.SAVE);
|
||||
};
|
||||
|
||||
render() {
|
||||
const {
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
/*
|
||||
|
||||
|
||||
todo fix save button should not react to clicks
|
||||
todo fix loaded stickers has wrong text placement for right-sided captions
|
||||
todo save spinner
|
||||
todo cancelling editing someone's else map return back to it's original address /razminochnyj/
|
||||
|
@ -30,6 +28,9 @@
|
|||
|
||||
todo maybe: map preview on save
|
||||
|
||||
OBLIVION STARTS HERE:
|
||||
|
||||
done fix save button should not react to clicks
|
||||
done stickers with empty text should not have blackbox at view mode
|
||||
done add ability to copy-paste address after saving
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue