Add sample habitat image and zone data
- Renames fixture scripts
This commit is contained in:
parent
1dcd42b6bc
commit
627816a3cd
14 changed files with 96 additions and 3 deletions
BIN
frontend/src/assets/img/habitats/01-coastal-mangroves-marshes.png
Executable file
BIN
frontend/src/assets/img/habitats/01-coastal-mangroves-marshes.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 427 KiB |
BIN
frontend/src/assets/img/habitats/03-coastal-grass-reeds-scrub.png
Executable file
BIN
frontend/src/assets/img/habitats/03-coastal-grass-reeds-scrub.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 157 KiB |
|
@ -20,6 +20,8 @@ export default function ZoneSelector(props) {
|
|||
setHabitatImageFile(imageSrc)
|
||||
findAndSetImageHeightFunc(imageSrc)
|
||||
}
|
||||
}).catch(e => {
|
||||
findAndSetImageHeightFunc(habitatImageFile)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue