- added cache faq items;
- added terms pdf; - added redirect to 'add company' for new users;
This commit is contained in:
@@ -27,6 +27,7 @@ const Switch = ({
|
||||
rules={config}
|
||||
render={({ field, fieldState }) => (
|
||||
<InputSwitch
|
||||
inputId={fieldName}
|
||||
checked={field.value}
|
||||
disabled={disabled}
|
||||
onChange={(e) => field.onChange(e.value)}
|
||||
|
||||
@@ -86,6 +86,7 @@ const TopBarProfileMenu = ({ menuLeftRef }) => {
|
||||
const switchCompany = (id) => {
|
||||
if (chosenCompanyId !== id) {
|
||||
storeSet.main.chosenCompanyId(id);
|
||||
console.log('set company 2', id)
|
||||
if (toast.current) {
|
||||
toast.current.show({
|
||||
severity: 'success',
|
||||
|
||||
Reference in New Issue
Block a user