Skip to content

Commit

Permalink
Joystick: Add visual feedback for fucntions importing
Browse files Browse the repository at this point in the history
Signed-off-by: Arturo Manzoli <[email protected]>
  • Loading branch information
ArturoManzoli authored and rafaellehmkuhl committed Oct 2, 2024
1 parent 6ceade7 commit c626983
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/stores/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ export const useControllerStore = defineStore('controller', () => {
return
}
protocolMapping.value = maybeFunctionsMapping
showDialog({ message: 'Functions mapping imported successful.', variant: 'success', timer: 2000 })
}
// @ts-ignore: We know the event type and need refactor of the event typing
reader.readAsText(e.target.files[0])
Expand Down

0 comments on commit c626983

Please sign in to comment.