mirror of
https://github.com/frappe/books.git
synced 2025-02-02 12:08:27 +00:00
Merge pull request #981 from frappe/fix-print-templates-sync
fix: printTemplates not syning to db on file content changes
This commit is contained in:
commit
4c1fa7cbb3
@ -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…
x
Reference in New Issue
Block a user