forked from MapComplete/MapComplete
		
	UI: explicitly pass dismissable
This commit is contained in:
		
							parent
							
								
									facba1e1a2
								
							
						
					
					
						commit
						9a907ea94a
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		|  | @ -25,6 +25,7 @@ | |||
|     headerClass = "hidden" | ||||
|   } | ||||
|   export let shown: UIEventSource<boolean> | ||||
|   export let dismissable = true | ||||
|   let _shown = false | ||||
|   shown.addCallbackAndRun(sh => { | ||||
|     _shown = sh | ||||
|  | @ -36,7 +37,7 @@ | |||
| 
 | ||||
| <Modal open={_shown} on:close={() => shown.set(false)} outsideclose | ||||
|        size="xl" | ||||
|        dismissable={false} | ||||
|        {dismissable} | ||||
|        {defaultClass} {bodyClass} {dialogClass} {headerClass} | ||||
|        color="none"> | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue