Merging
This commit is contained in:
@@ -19,12 +19,16 @@ export default function Home() {
|
||||
return(
|
||||
<ThemedView lvl={3} style={styles.back}>
|
||||
<View style={styles.container}>
|
||||
|
||||
{role === "chef" && <SetStatus />}
|
||||
{role === "resp" && <SelectChantier />}
|
||||
{role === "ouvrier" && (
|
||||
<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>
|
||||
</ThemedView>
|
||||
|
||||
Reference in New Issue
Block a user