Skip to content

Commit

Permalink
Edit place features in admin (#194)
Browse files Browse the repository at this point in the history
* Fix eslinf drizzle config

* Add capture date in images

* Refactor features to come from an array

* Display feature fields in admin but no edition yet

* Data submits fine

* chore: Auto-fix lint errors

* fix stay on page isCreateForm

* saves in the DB
  • Loading branch information
mauriciabad authored Feb 15, 2024
1 parent a4b5118 commit 4475eb7
Show file tree
Hide file tree
Showing 22 changed files with 2,343 additions and 364 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"plugins": ["@typescript-eslint", "drizzle"],
"overrides": [
{
"files": ["src/**/*.{spec,test}.{mjs,cjs,js,ts,jsx,tsx}"],
Expand Down
1 change: 1 addition & 0 deletions drizzle/0017_tricky_hellfire_club.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `image` ADD `captureDate` date;
Loading

0 comments on commit 4475eb7

Please sign in to comment.