9 lines
228 B
JavaScript
9 lines
228 B
JavaScript
export default ({ adminState = null, customState = {} } = {}) => {
|
|
const override = adminState !== null ? adminState.id !== customState.inheritFromId : false;
|
|
|
|
return {
|
|
override,
|
|
adminState,
|
|
customState,
|
|
};
|
|
};
|