...
|
...
|
@@ -66,7 +66,7 @@ class PostingContainer extends Component{ |
|
|
componentDidMount() {
|
|
|
|
|
|
if (this.props.section.sid>-1) {
|
|
|
let section = this.props.section.items.get(this.sid);
|
|
|
let section = this.props.section.items.get(this.props.section.sid);
|
|
|
this.boardSelectedWithName(section.name,section.id);
|
|
|
} else {
|
|
|
InteractionManager.runAfterInteractions(() => {
|
...
|
...
|
@@ -124,9 +124,10 @@ class PostingContainer extends Component{ |
|
|
render() {
|
|
|
let fromSection=false;
|
|
|
if (this.props.section.sid>-1) {
|
|
|
let section = this.props.section.items.get(this.sid);
|
|
|
let section = this.props.section.items.get(this.props.section.sid);
|
|
|
fromSection = section.name.length && section.id>0;
|
|
|
}
|
|
|
|
|
|
return(
|
|
|
<View style={styles.container}>
|
|
|
<Posting
|
...
|
...
|
|