mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
basic UI for row editing
This commit is contained in:
parent
3ea920c1f8
commit
32e1b4c3fd
13 changed files with 248 additions and 65 deletions
|
@ -92,8 +92,6 @@ export class Component extends React.PureComponent<Props, void> {
|
|||
state: { menuOpened },
|
||||
} = this;
|
||||
|
||||
const route_count = Object.keys(user.routes).length;
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className="panel active panel-user">
|
||||
|
@ -114,7 +112,6 @@ export class Component extends React.PureComponent<Props, void> {
|
|||
<div className="control-bar">
|
||||
<button
|
||||
className={classnames({
|
||||
disabled: route_count <= 0,
|
||||
active: dialog_active && (dialog === DIALOGS.MAP_LIST)
|
||||
})}
|
||||
onClick={this.openMapsDialog}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue