2
0
mirror of https://github.com/frappe/books.git synced 2024-11-09 15:20:56 +00:00

chore: prevent access check if mem

This commit is contained in:
18alantom 2023-06-29 11:32:23 +05:30
parent 8976d4c44b
commit f63ab9d660

View File

@ -162,7 +162,7 @@ export default defineComponent({
return;
}
if (!(await checkDbAccess(filePath))) {
if (filePath !== ':memory:' && !(await checkDbAccess(filePath))) {
await showDialog({
title: this.t`Cannot open file`,
type: 'error',