upd: projeect
Deskripsi: - ui list project - ui grid project - ui create project No Issues
This commit is contained in:
@@ -9,7 +9,7 @@ import { router } from "expo-router"
|
||||
type Props = {
|
||||
open: boolean,
|
||||
close: (value: boolean) => void
|
||||
page: 'position' | 'member' | 'discussion'
|
||||
page: 'position' | 'member' | 'discussion' | 'project'
|
||||
}
|
||||
|
||||
export default function ModalFilter({ open, close, page }: Props) {
|
||||
@@ -34,7 +34,10 @@ export default function ModalFilter({ open, close, page }: Props) {
|
||||
<View>
|
||||
<ButtonForm text="Terapkan" onPress={() => {
|
||||
close(false)
|
||||
router.push(`/${page}?active=true`)
|
||||
page == 'project' ?
|
||||
router.push(`/${page}?status=0`)
|
||||
:
|
||||
router.push(`/${page}?active=true`)
|
||||
}} />
|
||||
</View>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user