Skip to content

Commit

Permalink
core: frontend: Fix vehicle image url
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoantoniocardoso committed Jan 17, 2024
1 parent e468ac1 commit 4d86aaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/frontend/src/components/app/VehicleBanner.vue
Expand Up @@ -4,7 +4,7 @@
<image-picker
size="35px"
directory="/userdata/images/vehicle"
readonly-directory="/vehicles/images"
readonly-directory="/src/assets/vehicles/images"
:default-image="require('@/assets/vehicles/images/unknown.svg')"
:image="vehicle_image"
@image-selected="save_vehicle_image"
Expand Down
4 changes: 2 additions & 2 deletions core/frontend/src/components/wizard/Wizard.vue
Expand Up @@ -430,7 +430,7 @@ export default Vue.extend({
setupBoat() {
this.vehicle_type = Vehicle.Rover
this.vehicle_name = 'BlueBoat'
this.vehicle_image = '/vehicles/images/bb120.png'
this.vehicle_image = '/src/assets/vehicles/images/bb120.png'
this.step_number += 1
this.vehicle_configuration_pages = [
Expand Down Expand Up @@ -478,7 +478,7 @@ export default Vue.extend({
setupROV() {
this.vehicle_type = Vehicle.Sub
this.vehicle_name = 'BlueROV'
this.vehicle_image = '/vehicles/images/bluerov2.png'
this.vehicle_image = '/src/assets/vehicles/images/bluerov2.png'
this.step_number += 1
this.vehicle_configuration_pages = [
Expand Down

0 comments on commit 4d86aaf

Please sign in to comment.