Fixed double Chantier display
+ temporarily removed role condition to change chantier status
This commit is contained in:
@@ -24,14 +24,11 @@ export default function Home() {
|
|||||||
<View style={{width:"100%", position: 'absolute'}}>
|
<View style={{width:"100%", position: 'absolute'}}>
|
||||||
<SelectChantier></SelectChantier>
|
<SelectChantier></SelectChantier>
|
||||||
</View>
|
</View>
|
||||||
<ChantierSummary style={styles.summary} data={{chantier}}/>
|
|
||||||
<Anomaly style={styles.anomaly} data={{chantier}}/>
|
<Anomaly style={styles.anomaly} data={{chantier}}/>
|
||||||
{role === "chef" && (
|
|
||||||
<View style={{width:"100%", position: 'absolute',marginLeft:"50%"}}>
|
<View style={{width:"100%", position: 'absolute',marginLeft:"50%"}}>
|
||||||
<SetStatus></SetStatus>
|
<SetStatus></SetStatus>
|
||||||
</View>
|
</View>
|
||||||
)}
|
{role === "chef"}
|
||||||
{role === "resp"}
|
|
||||||
|
|
||||||
</View>
|
</View>
|
||||||
</ThemedView>
|
</ThemedView>
|
||||||
|
|||||||
Reference in New Issue
Block a user