Full circle - back to one-page settings
This commit is contained in:
@ -44,6 +44,13 @@ export function startServices(){
|
||||
}
|
||||
}
|
||||
|
||||
export function set( data ){
|
||||
return {
|
||||
type: 'CORE_SET',
|
||||
data: data
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -4,6 +4,9 @@ import * as helpers from '../../helpers'
|
||||
export default function reducer(core = {}, action){
|
||||
switch (action.type) {
|
||||
|
||||
case 'CORE_SET':
|
||||
return Object.assign({}, core, action.data)
|
||||
|
||||
/**
|
||||
* Current track and tracklist
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user