Skip to content

Commit

Permalink
Add state and getter for firmwareFile (qmk#313)
Browse files Browse the repository at this point in the history
- thinko accidentally forgot to provide a getter and state for setter
  • Loading branch information
yanfali authored Apr 18, 2019
1 parent 04599e7 commit c7b113d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/store/modules/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const state = {
enableDownloads: false,
firmwareBinaryURL: [],
firmwareSourceURL: [],
firmwareFile: '',
keymapSourceURL: [],
filter: '',
keypressListener: undefined,
Expand All @@ -31,6 +32,7 @@ const state = {
const steno_keyboards = ['gergo', 'georgi'];

const getters = {
firmwareFile: state => state.firmwareFile,
settingsPanelVisible: state => state.settingsPanelVisible,
message: state => state.message,
showSpinner: state => state.showSpinner,
Expand Down

0 comments on commit c7b113d

Please sign in to comment.