forked from MapComplete/MapComplete
Feature(inspector): allow to load multiple contributors at once
This commit is contained in:
parent
7c6224fd3e
commit
063a912c82
8 changed files with 69 additions and 41 deletions
|
|
@ -88,7 +88,12 @@
|
|||
No labels
|
||||
{:else}
|
||||
{#each $labels as label}
|
||||
<div class="mx-2">{label} </div>
|
||||
<div class="mx-2">{label}
|
||||
<button class:disabled={!$inspectedContributors.some(c => c.label === label)} on:click={() => {dispatch("selectUser",
|
||||
inspectedContributors.data.filter(c =>c.label === label).map(c => c .name).join(";")
|
||||
)}}>See all changes for these users
|
||||
</button>
|
||||
</div>
|
||||
{/each}
|
||||
{/if}
|
||||
<div class="interactive flex m-2 items-center gap-x-2 rounded-lg p-2">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue