|
@@ -66,7 +66,7 @@ class PostingContainer extends Component{ |
|
@@ -66,7 +66,7 @@ class PostingContainer extends Component{ |
66
|
componentDidMount() {
|
66
|
componentDidMount() {
|
67
|
|
67
|
|
68
|
if (this.props.section.sid>-1) {
|
68
|
if (this.props.section.sid>-1) {
|
69
|
- let section = this.props.section.items.get(this.sid);
|
69
|
+ let section = this.props.section.items.get(this.props.section.sid);
|
70
|
this.boardSelectedWithName(section.name,section.id);
|
70
|
this.boardSelectedWithName(section.name,section.id);
|
71
|
} else {
|
71
|
} else {
|
72
|
InteractionManager.runAfterInteractions(() => {
|
72
|
InteractionManager.runAfterInteractions(() => {
|
|
@@ -124,9 +124,10 @@ class PostingContainer extends Component{ |
|
@@ -124,9 +124,10 @@ class PostingContainer extends Component{ |
124
|
render() {
|
124
|
render() {
|
125
|
let fromSection=false;
|
125
|
let fromSection=false;
|
126
|
if (this.props.section.sid>-1) {
|
126
|
if (this.props.section.sid>-1) {
|
127
|
- let section = this.props.section.items.get(this.sid);
|
127
|
+ let section = this.props.section.items.get(this.props.section.sid);
|
128
|
fromSection = section.name.length && section.id>0;
|
128
|
fromSection = section.name.length && section.id>0;
|
129
|
}
|
129
|
}
|
|
|
130
|
+
|
130
|
return(
|
131
|
return(
|
131
|
<View style={styles.container}>
|
132
|
<View style={styles.container}>
|
132
|
<Posting
|
133
|
<Posting
|