mirror of
https://github.com/Blair-SGA-Dev-Team/blazerapp.git
synced 2024-11-08 14:51:17 -05:00
fixed staff pg
This commit is contained in:
parent
45a48f7957
commit
04fb03c8ac
10
app/Staff.js
10
app/Staff.js
|
@ -37,15 +37,7 @@ const StaffElement = ({item}) => {
|
|||
<Text key={email}><Text style={styles.linktext} onPress={()=>Linking.openURL("mailto:"+email)}><Text></Text>{email}</Text></Text>
|
||||
</View>
|
||||
</View>
|
||||
)),
|
||||
<View style={{display: 'flex', flexDirection: 'row', alignItems: 'center', marginTop: '2%', paddingHorizontal: '1%'}}>
|
||||
<View style={{width: '10%', display: 'flex', justifyContent: 'center'}}>
|
||||
<Image source = {require('./assets/dep.png')} style={{height: 22, width: 22}}/>
|
||||
</View>
|
||||
<View style={{width: '90%'}}>
|
||||
<Text>{item.item.department}</Text>
|
||||
</View>
|
||||
</View>
|
||||
))
|
||||
]
|
||||
)
|
||||
//const extra = [...item.item.emails.map(email=>(<Text key={email}>{'\n'}Email: <Text style={styles.linktext} onPress={()=>Linking.openURL("mailto:"+email)}>{email}</Text></Text>))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user