Fixed SOE breaking the admin
							parent
							
								
									98a1a0a0c4
								
							
						
					
					
						commit
						e9fcbd5a99
					
				
							
								
								
									
										2
									
								
								app.js
								
								
								
								
							
							
						
						
									
										2
									
								
								app.js
								
								
								
								
							|  | @ -316,7 +316,7 @@ handlebars = handlebars.create({ | |||
|             return''; | ||||
|         }, | ||||
|         snip: (text) => { | ||||
|             if(text.length > 155){ | ||||
|             if(text && text.length > 155){ | ||||
|                 return text.substring(0, 155) + '...'; | ||||
|             } | ||||
|             return text; | ||||
|  |  | |||
|  | @ -106,6 +106,7 @@ | |||
|         {{else}} | ||||
|         <meta property="twitter:url" content="{{config.baseUrl}}" /> | ||||
|         {{/if}} | ||||
|         {{#unless result.productTitle}} | ||||
|         <script type="application/ld+json"> | ||||
|             { | ||||
|                 "@context": "https://schema.org/", | ||||
|  | @ -139,7 +140,7 @@ | |||
|                 {{/if}} | ||||
|             } | ||||
|         </script> | ||||
|          | ||||
|         {{/unless}} | ||||
|         <!-- SEO data --> | ||||
|         {{~#if config.googleAnalytics}}{{{config.googleAnalytics}}}{{/if}} | ||||
|         {{~#if config.customCss}}<style>{{{config.customCss}}}</style>{{/if}} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue