willianrod / ODeck

A free and open-source alternative to StreamDeck
https://odeck.app
MIT License
399 stars 24 forks source link

fix(hotkey): allow hotkey with commas #22

Closed willianrod closed 1 year ago

willianrod commented 1 year ago

Issue https://github.com/willianrod/ODeck/issues/19

Each binding is an array of keys. To show it, the input was using join(",") to show it formatted. This was causing an issue because when submitting the form split(',') was required. So when splitting "," was resulting in ["", ""]

Solution

To fix it I just removed split and join because it was not required