2
0
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:
akshayitzme 2024-10-16 10:24:51 +05:30
parent 8443a41973
commit 93b02b2d4f

View File

@ -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;
}