2
0
mirror of https://github.com/frappe/books.git synced 2025-02-02 12:08:27 +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; return;
} }
if (!(await checkDbAccess(filePath))) { if (filePath !== ':memory:' && !(await checkDbAccess(filePath))) {
await showDialog({ await showDialog({
title: this.t`Cannot open file`, title: this.t`Cannot open file`,
type: 'error', type: 'error',