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