bratislava / paas-mpa

European Union Public License 1.2
1 stars 0 forks source link

feat: editing name of vehicle #466

Closed PavelFilo closed 1 month ago

PavelFilo commented 1 month ago
PavelFilo commented 1 month ago

Screenshot 2024-04-09 at 16 04 22

I've created an error screen and added vehicleId and vehicle screen check into one if check in order to have less redundant code (otherwise it has to be there twice). Also, I haven't used parseInt but Number(), because of the better strictness it offers. The last change was to remove redundant code with API edit request