doh, wrong way round

pull/3539/head
Richard Harris 6 years ago
parent 2ea27530a7
commit a5a729c04e

@ -250,8 +250,8 @@ export default class IfBlockWrapper extends Wrapper {
const select_block_type = this.renderer.component.get_unique_name(`select_block_type`);
const current_block_type = block.get_unique_name(`current_block_type`);
const get_block = has_else
? x`${current_block_type} && ${current_block_type}(#ctx)`
: x`${current_block_type}(#ctx)`
? x`${current_block_type}(#ctx)`
: x`${current_block_type} && ${current_block_type}(#ctx)`
/* eslint-disable @typescript-eslint/indent,indent */
if (this.needs_update) {

Loading…
Cancel
Save