diff --git a/ui/src/components/QuestionHeader.svelte b/ui/src/components/QuestionHeader.svelte index a2ae116..e693e6c 100644 --- a/ui/src/components/QuestionHeader.svelte +++ b/ui/src/components/QuestionHeader.svelte @@ -10,6 +10,7 @@ export let question = null; export let qid = null; export let edit = false; + export let nodescription = false;
{@html question.description}
{/if} diff --git a/ui/src/routes/surveys/[sid]/responses/[rid].svelte b/ui/src/routes/surveys/[sid]/responses/[rid].svelte index ce8c7f4..727ddbc 100644 --- a/ui/src/routes/surveys/[sid]/responses/[rid].svelte +++ b/ui/src/routes/surveys/[sid]/responses/[rid].svelte @@ -48,8 +48,14 @@ } cts = cts; }); + + let nodescription = false; + let y = 0; + $: nodescription = y > 10; +