Gab Social. All are welcome.
This commit is contained in:
16
app/javascript/gabsocial/actions/columns.js
Normal file
16
app/javascript/gabsocial/actions/columns.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import { saveSettings } from './settings';
|
||||
|
||||
export const COLUMN_PARAMS_CHANGE = 'COLUMN_PARAMS_CHANGE';
|
||||
|
||||
export function changeColumnParams(uuid, path, value) {
|
||||
return dispatch => {
|
||||
dispatch({
|
||||
type: COLUMN_PARAMS_CHANGE,
|
||||
uuid,
|
||||
path,
|
||||
value,
|
||||
});
|
||||
|
||||
dispatch(saveSettings());
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user