Skip to content

Commit

Permalink
didn't need to add disposal afterall
Browse files Browse the repository at this point in the history
  • Loading branch information
rizen committed Apr 7, 2024
1 parent 3425e95 commit c90ebe9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/change-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ outline: deep
* Fixed API options cassing problem.
* Upgraded to PrimeVue 3.51.0 from 3.47.2.
* Fixed undefined session in delete api.
* Fixed record page generator capitalization and record disposal.
* Fixed record page generator capitalization.

## 2024-04-05
* Changed the way foreign keys are generated due to the possibility of creating keynames that were too long.
Expand Down
2 changes: 1 addition & 1 deletion ving/generator/nuxtpages.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ const ${name.toLowerCase()} = useVingRecord({
},
});
await ${name.toLowerCase()}.fetch()
onBeforeRouteLeave(() => ${name.toLowerCase()}.dispose());
const breadcrumbs = [
{ label: '${makeWords(name)}s', to: '/${name.toLowerCase()}' },
{ label: 'View', to: '/${name.toLowerCase()}/'+${name.toLowerCase()}.props.id },
Expand Down

0 comments on commit c90ebe9

Please sign in to comment.