Remove Linux platform selection
This commit is contained in:
@@ -3,10 +3,8 @@ import {
|
||||
confirmYesNoAction,
|
||||
NOTIFY_APPLICATION_BUSY,
|
||||
notifyRebootRequired,
|
||||
SET_DISPLAY_SELECT_APPPLATFORM,
|
||||
setAllowMount,
|
||||
setApplicationReady,
|
||||
setLinuxAppPlatform,
|
||||
} from '../actions/common_actions';
|
||||
|
||||
export const createCommonReducer = (platformInfo, version) => {
|
||||
@@ -19,7 +17,6 @@ export const createCommonReducer = (platformInfo, version) => {
|
||||
AppReady: false,
|
||||
DisplayConfirmYesNo: false,
|
||||
ConfirmTitle: null,
|
||||
DisplaySelectAppPlatform: false,
|
||||
Platform: platformInfo.Platform,
|
||||
RebootRequired: false,
|
||||
Version: version,
|
||||
@@ -33,9 +30,6 @@ export const createCommonReducer = (platformInfo, version) => {
|
||||
action.payload.display && action.payload.data ? action.payload.data.title : null,
|
||||
};
|
||||
},
|
||||
[SET_DISPLAY_SELECT_APPPLATFORM]: (state, action) => {
|
||||
return { ...state, DisplaySelectAppPlatform: action.payload };
|
||||
},
|
||||
[setAllowMount]: (state, action) => {
|
||||
return { ...state, AllowMount: action.payload };
|
||||
},
|
||||
@@ -45,9 +39,6 @@ export const createCommonReducer = (platformInfo, version) => {
|
||||
AppReady: action.payload,
|
||||
};
|
||||
},
|
||||
[setLinuxAppPlatform]: (state, action) => {
|
||||
return { ...state, AppPlatform: action.payload };
|
||||
},
|
||||
[NOTIFY_APPLICATION_BUSY]: (state, action) => {
|
||||
return {
|
||||
...state,
|
||||
|
||||
Reference in New Issue
Block a user