spee.ch/client/selectors/show.js

10 lines
231 B
JavaScript
Raw Normal View History

2018-02-15 03:02:10 +01:00
export const selectAsset = (show) => {
2018-02-14 21:30:30 +01:00
const request = show.requestList[show.request.id];
const assetKey = request.key;
return show.assetList[assetKey];
};
2018-02-15 03:02:10 +01:00
export const selectShowState = (state) => {
return state.show;
};