- added duplicate form from another call functionality;

- fixed styles;
- added copy icon for user emails;
- added hotkey to open loginadmin page quickly;
- added modal for archiving document;
- added modal for create appointment;
This commit is contained in:
Vitalii Kiiko
2024-11-28 15:54:08 +01:00
parent 6f11070259
commit 7dad6c056d
11 changed files with 362 additions and 43 deletions

View File

@@ -2,6 +2,7 @@ import React, { useRef, useEffect, useState } from 'react';
import { __, sprintf } from '@wordpress/i18n';
import { classNames } from 'primereact/utils';
import { isEmpty, isNil } from 'ramda';
import hotkeys from 'hotkeys-js';
// store
import { storeSet, useStore } from '../../store';
@@ -111,11 +112,14 @@ const Login = () => {
}
}, [searchParams]);
/*useEffect(() => {
if ('t7jh5wfg9QXylNaTZkPoE' === APP_HUB_ID) {
useEffect(() => {
/*if ('t7jh5wfg9QXylNaTZkPoE' === APP_HUB_ID) {
setIsMaintenance(true);
}
}, [])*/
}*/
hotkeys('command+x', function(event, handler){
window.location.replace('/loginadmin')
});
}, []);
return (
<div className={classNames(['appPage', 'appPageLogin'])}>