ui: Randomize themes list
This commit is contained in:
parent
451b678e73
commit
23d5ea7c97
5 changed files with 39 additions and 7 deletions
|
|
@ -9,8 +9,8 @@
|
|||
} from 'sveltestrap';
|
||||
|
||||
import { my } from '../stores/my.js';
|
||||
import { max_solved, themes } from '../stores/themes.js';
|
||||
import { myThemes } from '../stores/mythemes.js';
|
||||
import { max_solved } from '../stores/themes.js';
|
||||
import { myThemes, themes } from '../stores/mythemes.js';
|
||||
</script>
|
||||
|
||||
<Dropdown nav inNavbar>
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
</Badge>
|
||||
{/if}
|
||||
<Badge>
|
||||
{#if $my && $my.team_id}{$myThemes[th].exercice_solved}/{/if}{$themes[th].exercice_count}
|
||||
{#if $my && $my.team_id}{$myThemes[$themes[th].id].exercice_solved}/{/if}{$themes[th].exercice_count}
|
||||
</Badge>
|
||||
</DropdownItem>
|
||||
{/each}
|
||||
|
|
|
|||
Reference in a new issue