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'}}>
|
||||
<SelectChantier></SelectChantier>
|
||||
</View>
|
||||
<ChantierSummary style={styles.summary} data={{chantier}}/>
|
||||
<Anomaly style={styles.anomaly} data={{chantier}}/>
|
||||
{role === "chef" && (
|
||||
<View style={{width:"100%", position: 'absolute',marginLeft:"50%"}}>
|
||||
<SetStatus></SetStatus>
|
||||
</View>
|
||||
)}
|
||||
{role === "resp"}
|
||||
<View style={{width:"100%", position: 'absolute',marginLeft:"50%"}}>
|
||||
<SetStatus></SetStatus>
|
||||
</View>
|
||||
{role === "chef"}
|
||||
|
||||
</View>
|
||||
</ThemedView>
|
||||
|
||||
Reference in New Issue
Block a user