|
|
|
@ -542,15 +542,9 @@ export default class InlineComponentWrapper extends Wrapper {
|
|
|
|
`);
|
|
|
|
`);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (parent_node) {
|
|
|
|
block.chunks.destroy[parent_node ? 'unshift' : 'push'](b`
|
|
|
|
block.chunks.destroy.unshift(b`
|
|
|
|
|
|
|
|
@destroy_component(${name}, detaching);
|
|
|
|
@destroy_component(${name}, detaching);
|
|
|
|
`);
|
|
|
|
`);
|
|
|
|
} else {
|
|
|
|
|
|
|
|
block.chunks.destroy.push(b`
|
|
|
|
|
|
|
|
@destroy_component(${name}, ${parent_node ? null : 'detaching'});
|
|
|
|
|
|
|
|
`);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
block.chunks.outro.push(
|
|
|
|
block.chunks.outro.push(
|
|
|
|
b`@transition_out(${name}.$$.fragment, #local);`
|
|
|
|
b`@transition_out(${name}.$$.fragment, #local);`
|
|
|
|
|