forked from MapComplete/MapComplete
		
	Fix: fix studio
This commit is contained in:
		
							parent
							
								
									a65f365485
								
							
						
					
					
						commit
						db9c5b233f
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
					@ -38,7 +38,7 @@
 | 
				
			||||||
        let key = "cached_special_spec_" + $language
 | 
					        let key = "cached_special_spec_" + $language
 | 
				
			||||||
        specs = t[key]
 | 
					        specs = t[key]
 | 
				
			||||||
        if (specs === undefined) {
 | 
					        if (specs === undefined) {
 | 
				
			||||||
          specs = SpecialVisualizations.constructSpecification(txt)
 | 
					          specs = SpecialVisualizations.constructSpecification(txt) ?? []
 | 
				
			||||||
          t[key] = specs
 | 
					          t[key] = specs
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
| 
						 | 
					@ -69,8 +69,9 @@
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					{#if specs === undefined}
 | 
				
			||||||
{#if lang === "*"}
 | 
					  <!-- Empty -->
 | 
				
			||||||
 | 
					{:else if lang === "*"}
 | 
				
			||||||
  {#each specs as specpart}
 | 
					  {#each specs as specpart}
 | 
				
			||||||
    {#if typeof specpart === "string"}
 | 
					    {#if typeof specpart === "string"}
 | 
				
			||||||
      <span class={clss}>
 | 
					      <span class={clss}>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue