mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
fix: organization lock base currency field.
This commit is contained in:
8
client/src/containers/Preferences/General/utils.js
Normal file
8
client/src/containers/Preferences/General/utils.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import { defaultFastFieldShouldUpdate } from 'utils';
|
||||
|
||||
export const shouldBaseCurrencyUpdate = (newProps, oldProps) => {
|
||||
return (
|
||||
newProps.baseCurrencyDisabled !== oldProps.baseCurrencyDisabled ||
|
||||
defaultFastFieldShouldUpdate(newProps, oldProps)
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user