mirror of
https://github.com/frappe/books.git
synced 2026-08-24 10:04:45 -05:00
chore: prevent access check if mem
This commit is contained in:
+1
-1
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user