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:
parent
8976d4c44b
commit
f63ab9d660
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user