mirror of
https://github.com/frappe/books.git
synced 2024-12-22 10:58:59 +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)) {
|
||||
const fileModified = nameModifiedMap[name];
|
||||
if (fileModified && dbModified.valueOf() >= fileModified.valueOf()) {
|
||||
if (fileModified && dbModified.valueOf() <= fileModified.valueOf()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user