Can lock theme
This commit is contained in:
parent
b8c5ec6725
commit
d4ce0dd474
9 changed files with 85 additions and 43 deletions
|
|
@ -52,7 +52,7 @@
|
|||
{#each $themes as th, index}
|
||||
<Col class="mb-3">
|
||||
<CardTheme
|
||||
class="{$my && $my.team_id && $myThemes[th.id].exercice_solved > 0?'border-light ':''}{th.exercice_coeff_max > 1?'border-success ':''}"
|
||||
class="{$my && $my.team_id && $myThemes[th.id].exercice_solved > 0?'border-light ':''}{th.exercice_coeff_max > 1?'border-success ':''}{th.locked?' border-secondary ':''}"
|
||||
theme={th}
|
||||
on:click={goto(`${th.urlid}`)}
|
||||
/>
|
||||
|
|
|
|||
Reference in a new issue