Merging
This commit is contained in:
@@ -19,12 +19,16 @@ export default function Home() {
|
|||||||
return(
|
return(
|
||||||
<ThemedView lvl={3} style={styles.back}>
|
<ThemedView lvl={3} style={styles.back}>
|
||||||
<View style={styles.container}>
|
<View style={styles.container}>
|
||||||
|
|
||||||
{role === "chef" && <SetStatus />}
|
|
||||||
{role === "resp" && <SelectChantier />}
|
|
||||||
{role === "ouvrier" && (
|
|
||||||
<ChantierSummary style={styles.summary} data={{ chantier }} />
|
<ChantierSummary style={styles.summary} data={{ chantier }} />
|
||||||
|
<View style={{width:"100%", position: 'absolute'}}>
|
||||||
|
<SelectChantier></SelectChantier>
|
||||||
|
</View>
|
||||||
|
{role === "chef" && (
|
||||||
|
<View style={{width:"100%", position: 'absolute',marginLeft:"50%"}}>
|
||||||
|
<SetStatus></SetStatus>
|
||||||
|
</View>
|
||||||
)}
|
)}
|
||||||
|
{role === "resp"}
|
||||||
|
|
||||||
</View>
|
</View>
|
||||||
</ThemedView>
|
</ThemedView>
|
||||||
|
|||||||
Reference in New Issue
Block a user