diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-12-18 18:52:37 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-12-18 21:39:35 +0100 |
commit | 82b01a6c9f13ab63818da3bfb8ee9cfcfda0cdd6 (patch) | |
tree | 35f67570b4c006f4a27cb322cbea863da293b4f0 /app/javascript/flavours/glitch/actions | |
parent | 9fc7ad7b9ce663a9daff9fdd4d934c101f6e38c0 (diff) |
[Glitch] Put "Media Only" option in column settings instead of content area headline
Port 4f42238c294f92dbd87db3d83f9514344fcd1f8a to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/actions')
-rw-r--r-- | app/javascript/flavours/glitch/actions/columns.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/actions/columns.js b/app/javascript/flavours/glitch/actions/columns.js index f550e6c48..9b87415fb 100644 --- a/app/javascript/flavours/glitch/actions/columns.js +++ b/app/javascript/flavours/glitch/actions/columns.js @@ -40,12 +40,13 @@ export function moveColumn(uuid, direction) { }; }; -export function changeColumnParams(uuid, params) { +export function changeColumnParams(uuid, path, value) { return dispatch => { dispatch({ type: COLUMN_PARAMS_CHANGE, uuid, - params, + path, + value, }); dispatch(saveSettings()); |