Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Check if id is undefined #44

Merged
merged 1 commit into from
Apr 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src_htmlPhone/src/components/Racing/RacingMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ export default {
const rep = await Modal.CreateModal({ choix })
this.ignoreControls = false
this.$bus.$emit('ignoreControls', false)
switch (rep.id) {
switch (rep.id ?? 999) {
case 0:
this.$phoneAPI.getReponseText({limit: 10, text: this.IntlString('APP_RACING_CREATE_ALIAS')}).then(data => {
Swal.fire({
Expand Down Expand Up @@ -399,6 +399,8 @@ export default {
})
})
break
case 999:
break
}
},
},
Expand Down