Skip to content

Commit

Permalink
add Session Preset type to import preset switch
Browse files Browse the repository at this point in the history
  • Loading branch information
tappi287 committed Jul 4, 2021
1 parent fc17fa3 commit e4b392e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vue/src/components/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,12 @@ export default {
// Controls
await this.$refs.con.importPreset(importPreset)
break
case 3:
// Session
await this.$refs.ses.importPreset(importPreset)
break
default:
this.makeToast('The type of preset you dropped is not supported or from a newer version than' +
this.makeToast('The type of preset you dropped is not supported or from a newer version than ' +
'your version of the app.', 'warning', 'Preset Import')
}
console.log(importPreset.preset_type)
Expand Down

0 comments on commit e4b392e

Please sign in to comment.