diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-07-14 11:44:06 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-07-14 11:44:06 +0300 |
| commit | cac1418affbc0ae91bce2a4d4c14046e73484116 (patch) | |
| tree | b8a9ef91853d7f4d3f35e632e0b3e71b5dd79c7d /src/modules/interface.js | |
| parent | 78ec84477e978a654ecfd482157dbf04a69f32e2 (diff) | |
| parent | 3e09a708f600b47dde831eeddb412828b38a0cf4 (diff) | |
fix merge conflicts
Diffstat (limited to 'src/modules/interface.js')
| -rw-r--r-- | src/modules/interface.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/modules/interface.js b/src/modules/interface.js index e31630fc..ec08ac0a 100644 --- a/src/modules/interface.js +++ b/src/modules/interface.js @@ -15,7 +15,8 @@ const defaultState = { ) }, mobileLayout: false, - globalNotices: [] + globalNotices: [], + layoutHeight: 0 } const interfaceMod = { @@ -65,6 +66,9 @@ const interfaceMod = { }, removeGlobalNotice (state, notice) { state.globalNotices = state.globalNotices.filter(n => n !== notice) + }, + setLayoutHeight (state, value) { + state.layoutHeight = value } }, actions: { @@ -110,6 +114,9 @@ const interfaceMod = { }, removeGlobalNotice ({ commit }, notice) { commit('removeGlobalNotice', notice) + }, + setLayoutHeight ({ commit }, value) { + commit('setLayoutHeight', value) } } } |
