Fix access to null variable
This commit is contained in:
parent
12a0777886
commit
86cc2cad4a
@ -94,7 +94,7 @@
|
|||||||
kind={question.kind}
|
kind={question.kind}
|
||||||
{proposals}
|
{proposals}
|
||||||
readonly
|
readonly
|
||||||
live={survey.direct !== null}
|
live={survey && survey.direct !== null}
|
||||||
{corrections}
|
{corrections}
|
||||||
bind:value={value}
|
bind:value={value}
|
||||||
on:change={() => { dispatch("change"); }}
|
on:change={() => { dispatch("change"); }}
|
||||||
@ -113,7 +113,7 @@
|
|||||||
kind={question.kind}
|
kind={question.kind}
|
||||||
{proposals}
|
{proposals}
|
||||||
{readonly}
|
{readonly}
|
||||||
live={survey.direct !== null}
|
live={survey && survey.direct !== null}
|
||||||
{corrections}
|
{corrections}
|
||||||
bind:value={value}
|
bind:value={value}
|
||||||
on:change={() => { dispatch("change"); }}
|
on:change={() => { dispatch("change"); }}
|
||||||
|
Reference in New Issue
Block a user