- added cache faq items;

- added terms pdf;
- added redirect to 'add company' for new users;
This commit is contained in:
Vitalii Kiiko
2024-10-11 12:51:15 +02:00
parent 8fb1551880
commit bd64a34347
26 changed files with 168 additions and 36 deletions

View File

@@ -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)}

View File

@@ -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',