mirror of
				https://github.com/JuanCanham/HackMyResume.git
				synced 2025-10-30 20:57:26 +00:00 
			
		
		
		
	Fix logic glitch in {{sectionTitle}} helper.
This commit is contained in:
		| @@ -54,7 +54,7 @@ Generic template helper definitions for HackMyResume / FluentCV. | |||||||
|       // If not provided by the user, stitle should default to sname. ps. |       // If not provided by the user, stitle should default to sname. ps. | ||||||
|       // Handlebars silently passes in the options object to the last param, |       // Handlebars silently passes in the options object to the last param, | ||||||
|       // where in Underscore stitle will be null/undefined, so we check both. |       // where in Underscore stitle will be null/undefined, so we check both. | ||||||
|       stitle = (stitle && String.is(stitle)) || sname; |       stitle = (stitle && String.is(stitle) && stitle) || sname; | ||||||
|  |  | ||||||
|       // If there's a section title override, use it. |       // If there's a section title override, use it. | ||||||
|       return ( this.opts.stitles && |       return ( this.opts.stitles && | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user