[fix] Do not show the Save Button if there is a Workflow without Local Changes and Print Preview is Toggled (#4362)
[fix] Do not show the Save Button if there is a Workflow without Local Changes and Print Preview is Toggled (#4362)

* [fix] Do not show the Save Button if there is a Workflow without Local Changes

The save button is currently shown when there is a workflow and when the print preview is shown and subsequently cleared, even though there were no local changes made.

* Improved Code Readability

mhbu50/frappe,tmimori/frappe,chdecultot/frappe,paurosello/frappe,almeidapaulopt/frappe,yashodhank/frappe,adityahase/frappe,RicardoJohann/frappe,manassolanki/frappe,saurabh6790/frappe,manassolanki/frappe,tmimori/frappe,ESS-LLP/frappe,tundebabzy/frappe,almeidapaulopt/frappe,vjFaLk/frappe,chdecultot/frappe,frappe/frappe,vjFaLk/frappe,ESS-LLP/frappe,vjFaLk/frappe,ESS-LLP/frappe,mhbu50/frappe,StrellaGroup/frappe,tundebabzy/frappe,saurabh6790/frappe,manassolanki/frappe,RicardoJohann/frappe,tundebabzy/frappe,yashodhank/frappe,frappe/frappe,frappe/frappe,tmimori/frappe,tmimori/frappe,chdecultot/frappe,almeidapaulopt/frappe,tundebabzy/frappe,adityahase/frappe,almeidapaulopt/frappe,StrellaGroup/frappe,paurosello/frappe,chdecultot/frappe,vjFaLk/frappe,manassolanki/frappe,adityahase/frappe,neilLasrado/frappe,RicardoJohann/frappe,saurabh6790/frappe,yashodhank/frappe,StrellaGroup/frappe,saurabh6790/frappe,neilLasrado/frappe,ESS-LLP/frappe,neilLasrado/frappe,mhbu50/frappe,paurosello/frappe,yashodhank/frappe,neilLasrado/frappe,adityahase/frappe,RicardoJohann/frappe,mhbu50/frappe,paurosello/frappe