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