Added base handled for job decode and watcher start/top
This commit is contained in:
@@ -2,12 +2,17 @@ import { createSelector } from "reselect";
|
||||
|
||||
const selectApplication = (state) => state.application;
|
||||
|
||||
export const selectRooms = createSelector(
|
||||
export const selectWatcherStatus = createSelector(
|
||||
[selectApplication],
|
||||
(application) => application.rooms
|
||||
(application) => application.watcherStatus
|
||||
);
|
||||
|
||||
export const selectImages = createSelector(
|
||||
export const selectWatchedPaths = createSelector(
|
||||
[selectApplication],
|
||||
(application) => application.images
|
||||
(application) => application.watchedPaths
|
||||
);
|
||||
|
||||
export const selectWatcherError = createSelector(
|
||||
[selectApplication],
|
||||
(application) => application.watcherError
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user