- 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:
@@ -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'])}>
|
||||
|
||||
Reference in New Issue
Block a user