mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 17:27:48 +00:00
feat(nc-gui): add isDrawerExist
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// refer - https://stackoverflow.com/a/11752084
|
||||
export const isMac = () => /Mac/i.test(navigator.platform)
|
||||
export const isDrawerExist = () => document.querySelector('.ant-drawer-open')
|
||||
export const isDrawerOrModalExist = () => document.querySelector('.ant-modal.active, .ant-drawer-open')
|
||||
|
||||
Reference in New Issue
Block a user