Fixed double Chantier display

+ temporarily removed role condition to change chantier status
This commit is contained in:
Alexis Leboeuf
2025-12-11 22:07:18 +01:00
parent 4eef83e83c
commit ff6aafb24c

View File

@@ -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>