#36: Add ability to select Linux distribution type if OS is unsupported - partial

This commit is contained in:
2019-08-28 13:34:11 -05:00
parent 3dd3955846
commit 0671a39809
8 changed files with 90 additions and 17 deletions

View File

@@ -1,5 +1,6 @@
import {createReducer} from 'redux-starter-kit';
import {
displaySelectAppPlatform,
notifyRebootRequired,
setAllowMount,
setApplicationReady,
@@ -10,10 +11,17 @@ export const createCommonReducer = (platform, appPlatform, version) => {
AllowMount: false,
AppPlatform: appPlatform,
AppReady: false,
DisplaySelectAppPlatform: false,
Platform: platform,
RebootRequired: false,
Version: version,
}, {
[displaySelectAppPlatform]: (state, action) => {
return {
...state,
DisplaySelectAppPlatform: action.payload,
}
},
[setAllowMount]: (state, action) => {
return {
...state,