debian-mirror-gitlab/app/assets/javascripts/operation_settings/store/state.js
2020-06-23 00:09:42 +05:30

10 lines
304 B
JavaScript

export default (initialState = {}) => ({
operationsSettingsEndpoint: initialState.operationsSettingsEndpoint,
helpPage: initialState.helpPage,
externalDashboard: {
url: initialState.externalDashboardUrl,
},
dashboardTimezone: {
selected: initialState.dashboardTimezoneSetting,
},
});