Resolve "Categories, detailed view on Press"
This commit is contained in:
parent
b927b0e8a0
commit
412e88d007
8 changed files with 105 additions and 16 deletions
|
|
@ -38,7 +38,7 @@ export default function Page() {
|
|||
};
|
||||
|
||||
const handleCategoryPress = (item: {[column: string]: any;}) => {
|
||||
console.log(item.category_name);
|
||||
router.push({pathname: "/(tabs)/budget/category", params: {category_guid: item.category_guid, category_name: item.category_name}})
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
@ -46,7 +46,7 @@ export default function Page() {
|
|||
<BudgetHeader selectedPage={selectedPage} handlePageSelection={handlePageSelection}/>
|
||||
|
||||
<Plus onPress={() => {
|
||||
router.push({pathname: '/(tabs)/budget/addCategory', params: { guid: '123'}}); //This needs to be changed to a regular push, without parameters
|
||||
router.push({pathname: '/(tabs)/budget/addCategory'});
|
||||
}}/>
|
||||
|
||||
{isLoading ? (<LoadingSymbol/>) : (
|
||||
|
|
|
|||
Reference in a new issue