fix(pane_admin): hide role management panes to avoid confusion
This commit is contained in:
parent
294e52216c
commit
83a642514a
2 changed files with 74 additions and 72 deletions
|
@ -656,7 +656,7 @@ export class AdminPane extends React.Component<Props, State, {}> {
|
||||||
{userList}
|
{userList}
|
||||||
</Container>
|
</Container>
|
||||||
|
|
||||||
<Container>
|
{/* <Container>
|
||||||
<div>
|
<div>
|
||||||
<Flexbox
|
<Flexbox
|
||||||
children={List([
|
children={List([
|
||||||
|
@ -684,9 +684,9 @@ export class AdminPane extends React.Component<Props, State, {}> {
|
||||||
childrenStyles={List([{}, { justifyContent: "flex-end" }])}
|
childrenStyles={List([{}, { justifyContent: "flex-end" }])}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</Container>
|
</Container> */}
|
||||||
|
|
||||||
<Container>
|
{/* <Container>
|
||||||
<Flexbox
|
<Flexbox
|
||||||
children={List([
|
children={List([
|
||||||
<h5 className="title-m">
|
<h5 className="title-m">
|
||||||
|
@ -699,7 +699,7 @@ export class AdminPane extends React.Component<Props, State, {}> {
|
||||||
<div className="hr"></div>
|
<div className="hr"></div>
|
||||||
|
|
||||||
{roleList}
|
{roleList}
|
||||||
</Container>
|
</Container> */}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ export interface Props {
|
||||||
update?: (updater: (prevState: ICoreState) => ICoreState) => void;
|
update?: (updater: (prevState: ICoreState) => ICoreState) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface State { }
|
export interface State {}
|
||||||
export class RootFrame extends React.Component<Props, State, {}> {
|
export class RootFrame extends React.Component<Props, State, {}> {
|
||||||
constructor(p: Props) {
|
constructor(p: Props) {
|
||||||
super(p);
|
super(p);
|
||||||
|
@ -95,6 +95,7 @@ export class RootFrame extends React.Component<Props, State, {}> {
|
||||||
return (
|
return (
|
||||||
<div id="root-frame" className={`${theme} ${fontSizeClass}`}>
|
<div id="root-frame" className={`${theme} ${fontSizeClass}`}>
|
||||||
<div id="bg" style={bgStyle}>
|
<div id="bg" style={bgStyle}>
|
||||||
|
<div id="custom">
|
||||||
<Layers
|
<Layers
|
||||||
login={this.props.login}
|
login={this.props.login}
|
||||||
admin={this.props.admin}
|
admin={this.props.admin}
|
||||||
|
@ -176,6 +177,7 @@ export class RootFrame extends React.Component<Props, State, {}> {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue