mirror of
https://github.com/frappe/books.git
synced 2024-12-31 22:11:48 +00:00
fix: printTemplates not syning to db on file content changes
This commit is contained in:
parent
8443a41973
commit
93b02b2d4f
@ -439,7 +439,7 @@ function getPrintTemplateUpdateList(
|
|||||||
|
|
||||||
for (const { name, type } of getNameAndTypeFromTemplateFile(file, fyo)) {
|
for (const { name, type } of getNameAndTypeFromTemplateFile(file, fyo)) {
|
||||||
const fileModified = nameModifiedMap[name];
|
const fileModified = nameModifiedMap[name];
|
||||||
if (fileModified && dbModified.valueOf() >= fileModified.valueOf()) {
|
if (fileModified && dbModified.valueOf() <= fileModified.valueOf()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user